Sha256: 6ee0bfe809e02aebc6abd0338a9b9feeb4e6bcebec715dd426087b8eb4576780

Contents?: true

Size: 1.48 KB

Versions: 2

Compression:

Stored size: 1.48 KB

Contents

{I"
class:ETI"ProcessedAsset;FI"logical_path;TI"umlaut/load_permalink.js;FI"
pathname;TI"l/Users/jrochkind/.gem/ruby/2.2.2/gems/umlaut-4.1.0.pre3/app/assets/javascripts/umlaut/load_permalink.js;FI"content_type;TI"application/javascript;TI"
mtime;Tl+DN5UI"length;TižI"digest;TI"%fa66d003625107ee77595c545a6c876d;FI"source;TI"ž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;TI"%b030ce3659791bb7d730dba6df97d5c4;FI"required_paths;T[I"l/Users/jrochkind/.gem/ruby/2.2.2/gems/umlaut-4.1.0.pre3/app/assets/javascripts/umlaut/load_permalink.js;FI"dependency_paths;T[{I"	path;TI"l/Users/jrochkind/.gem/ruby/2.2.2/gems/umlaut-4.1.0.pre3/app/assets/javascripts/umlaut/load_permalink.js;F@I"2015-04-20T15:06:44-04:00;T@I"%fa66d003625107ee77595c545a6c876d;FI"
_version;TI"%4bf7b15359fe8e0974f7f263e26e27f4;F

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
umlaut_borrow_direct-1.0.1 test/dummy/tmp/cache/assets/test/sprockets/018ea9ccdd1343097c14021cc8cce29f
umlaut_borrow_direct-1.0.1 test/dummy/tmp/cache/assets/test/sprockets/adfdf51ef3623e74f859a1ad0fcf9184