Sha256: 749249d4174dfc79c063f7775400f10b20ef5482489df00769ff9d2c645c9527

Contents?: true

Size: 1.51 KB

Versions: 10

Compression:

Stored size: 1.51 KB

Contents

{I"
class:EFI"ProcessedAsset;FI"logical_path;FI"umlaut/load_permalink.js;TI"
pathname;FI"v/Users/jrochkind/.gem/ruby/1.9.3/bundler/gems/umlaut-361bc2ce4fa6/app/assets/javascripts/umlaut/load_permalink.js;TI"content_type;FI"application/javascript;FI"
mtime;Fl+â”ÛTI"length;FižI"digest;F"%fa66d003625107ee77595c545a6c876dI"source;FI"žjQuery(document).ready(function($) {


	$("*[data-umlaut-toggle-permalink]").click(function(event) {
		event.preventDefault();

		var originalLink   = $(this)
		var valueContainer = $("#umlaut-permalink-container");

		if (! valueContainer.data("loaded")) {
			valueContainer.html('<span class="umlaut-permalink-content"><i class="spinner"></i></span>').show();

			$.getJSON( originalLink.attr('href'), function(data) {
				var href = data.permalink;
				var a = $("<a class='umlaut-permalink-content'/>");
				a.attr("href", href);
				a.text(href);
				valueContainer.html(a).data("loaded", true).show();
			});
		}
		else {
			valueContainer.toggle();
		}
	});

});
;TI"dependency_digest;F"%b030ce3659791bb7d730dba6df97d5c4I"required_paths;F[I"v/Users/jrochkind/.gem/ruby/1.9.3/bundler/gems/umlaut-361bc2ce4fa6/app/assets/javascripts/umlaut/load_permalink.js;TI"dependency_paths;F[{I"	path;FI"v/Users/jrochkind/.gem/ruby/1.9.3/bundler/gems/umlaut-361bc2ce4fa6/app/assets/javascripts/umlaut/load_permalink.js;TI"
mtime;FI"2015-02-11T12:44:02-05:00;FI"digest;F"%fa66d003625107ee77595c545a6c876dI"
_version;F"%4bf7b15359fe8e0974f7f263e26e27f4

Version data entries

10 entries across 5 versions & 1 rubygems

Version Path
umlaut_borrow_direct-1.0.1 test/dummy/tmp/cache/assets/test/sprockets/c0bd6574749f67c2b58e99dba849448f
umlaut_borrow_direct-1.0.1 test/dummy/tmp/cache/assets/test/sprockets/2c2328c79f3b5997cd1dd17822ea541a
umlaut_borrow_direct-1.0.0 test/dummy/tmp/cache/assets/test/sprockets/2c2328c79f3b5997cd1dd17822ea541a
umlaut_borrow_direct-1.0.0 test/dummy/tmp/cache/assets/test/sprockets/c0bd6574749f67c2b58e99dba849448f
umlaut_borrow_direct-1.0.0.pre3 test/dummy/tmp/cache/assets/test/sprockets/2c2328c79f3b5997cd1dd17822ea541a
umlaut_borrow_direct-1.0.0.pre3 test/dummy/tmp/cache/assets/test/sprockets/c0bd6574749f67c2b58e99dba849448f
umlaut_borrow_direct-1.0.0.pre2 test/dummy/tmp/cache/assets/test/sprockets/c0bd6574749f67c2b58e99dba849448f
umlaut_borrow_direct-1.0.0.pre2 test/dummy/tmp/cache/assets/test/sprockets/2c2328c79f3b5997cd1dd17822ea541a
umlaut_borrow_direct-1.0.0.pre.alpha.1 test/dummy/tmp/cache/assets/test/sprockets/2c2328c79f3b5997cd1dd17822ea541a
umlaut_borrow_direct-1.0.0.pre.alpha.1 test/dummy/tmp/cache/assets/test/sprockets/c0bd6574749f67c2b58e99dba849448f