Sha256: 2f5afc5dbc411b8bd4c795e0eb6444cc5c75f97590b1824284c49cacb4d78951

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-e160f1c4db2a/app/assets/javascripts/umlaut/load_permalink.js;TI"content_type;FI"application/javascript;FI"
mtime;Fl+\TI"length;FiI"digest;F"%3607ac443c52308fcd2ab2507e8db754I"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"%c46d07f06f9dc1de93bc9adbac697f77I"required_paths;F[I"v/Users/jrochkind/.gem/ruby/1.9.3/bundler/gems/umlaut-e160f1c4db2a/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-e160f1c4db2a/app/assets/javascripts/umlaut/load_permalink.js;TI"
mtime;FI"2015-01-29T15:51:40-05:00;FI"digest;F"%3607ac443c52308fcd2ab2507e8db754I"
_version;F"%883b724e06f474a3db2deee10c127ab9

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/1f939d011db81fb82d8adeec4ad30a0c
umlaut_borrow_direct-1.0.1 test/dummy/tmp/cache/assets/test/sprockets/1ab727c420fb2617271b7cd1351134d4
umlaut_borrow_direct-1.0.0 test/dummy/tmp/cache/assets/test/sprockets/1ab727c420fb2617271b7cd1351134d4
umlaut_borrow_direct-1.0.0 test/dummy/tmp/cache/assets/test/sprockets/1f939d011db81fb82d8adeec4ad30a0c
umlaut_borrow_direct-1.0.0.pre3 test/dummy/tmp/cache/assets/test/sprockets/1ab727c420fb2617271b7cd1351134d4
umlaut_borrow_direct-1.0.0.pre3 test/dummy/tmp/cache/assets/test/sprockets/1f939d011db81fb82d8adeec4ad30a0c
umlaut_borrow_direct-1.0.0.pre2 test/dummy/tmp/cache/assets/test/sprockets/1f939d011db81fb82d8adeec4ad30a0c
umlaut_borrow_direct-1.0.0.pre2 test/dummy/tmp/cache/assets/test/sprockets/1ab727c420fb2617271b7cd1351134d4
umlaut_borrow_direct-1.0.0.pre.alpha.1 test/dummy/tmp/cache/assets/test/sprockets/1ab727c420fb2617271b7cd1351134d4
umlaut_borrow_direct-1.0.0.pre.alpha.1 test/dummy/tmp/cache/assets/test/sprockets/1f939d011db81fb82d8adeec4ad30a0c