Sha256: dc4f65b33a04318db146b818c0193fcfefae96a6966cdccfdb6e86d7328ec718

Contents?: true

Size: 1.5 KB

Versions: 10

Compression:

Stored size: 1.5 KB

Contents

{I"
class:EFI"ProcessedAsset;FI"logical_path;FI"umlaut/load_permalink.js;TI"
pathname;FI"s/Users/jrochkind/.gem/ruby/1.9.3/gems/umlaut-4.1.0.pre.alpha.1/app/assets/javascripts/umlaut/load_permalink.js;TI"content_type;FI"application/javascript;FI"
mtime;Fl+“Rï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"s/Users/jrochkind/.gem/ruby/1.9.3/gems/umlaut-4.1.0.pre.alpha.1/app/assets/javascripts/umlaut/load_permalink.js;TI"dependency_paths;F[{I"	path;FI"s/Users/jrochkind/.gem/ruby/1.9.3/gems/umlaut-4.1.0.pre.alpha.1/app/assets/javascripts/umlaut/load_permalink.js;TI"
mtime;FI"2015-02-26T12:06:27-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/697a817380fb728f85244854c9d7f37e
umlaut_borrow_direct-1.0.1 test/dummy/tmp/cache/assets/test/sprockets/1142261413e82b0c0c41dd777e7908fa
umlaut_borrow_direct-1.0.0 test/dummy/tmp/cache/assets/test/sprockets/1142261413e82b0c0c41dd777e7908fa
umlaut_borrow_direct-1.0.0 test/dummy/tmp/cache/assets/test/sprockets/697a817380fb728f85244854c9d7f37e
umlaut_borrow_direct-1.0.0.pre3 test/dummy/tmp/cache/assets/test/sprockets/1142261413e82b0c0c41dd777e7908fa
umlaut_borrow_direct-1.0.0.pre3 test/dummy/tmp/cache/assets/test/sprockets/697a817380fb728f85244854c9d7f37e
umlaut_borrow_direct-1.0.0.pre2 test/dummy/tmp/cache/assets/test/sprockets/697a817380fb728f85244854c9d7f37e
umlaut_borrow_direct-1.0.0.pre2 test/dummy/tmp/cache/assets/test/sprockets/1142261413e82b0c0c41dd777e7908fa
umlaut_borrow_direct-1.0.0.pre.alpha.1 test/dummy/tmp/cache/assets/test/sprockets/1142261413e82b0c0c41dd777e7908fa
umlaut_borrow_direct-1.0.0.pre.alpha.1 test/dummy/tmp/cache/assets/test/sprockets/697a817380fb728f85244854c9d7f37e