Sha256: 33c9d569b1e5df69d5de601abaa2a08d9d4fa6588ecfe0b427df0e37f826faea

Contents?: true

Size: 1.42 KB

Versions: 10

Compression:

Stored size: 1.42 KB

Contents

{I"
class:EFI"ProcessedAsset;FI"logical_path;FI"umlaut/load_permalink.js;TI"
pathname;FI"X/Users/jrochkind/code/umlaut-rails4/app/assets/javascripts/umlaut/load_permalink.js;TI"content_type;FI"application/javascript;FI"
mtime;Fl+l»SI"length;FižI"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"X/Users/jrochkind/code/umlaut-rails4/app/assets/javascripts/umlaut/load_permalink.js;TI"dependency_paths;F[{I"	path;FI"X/Users/jrochkind/code/umlaut-rails4/app/assets/javascripts/umlaut/load_permalink.js;TI"
mtime;FI"2014-07-07T17:17:32-04: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/4c4d82da23f69029b0c8346855f2effe
umlaut_borrow_direct-1.0.1 test/dummy/tmp/cache/assets/test/sprockets/4059619b2636e7c20d35170dfe625a63
umlaut_borrow_direct-1.0.0 test/dummy/tmp/cache/assets/test/sprockets/4059619b2636e7c20d35170dfe625a63
umlaut_borrow_direct-1.0.0 test/dummy/tmp/cache/assets/test/sprockets/4c4d82da23f69029b0c8346855f2effe
umlaut_borrow_direct-1.0.0.pre3 test/dummy/tmp/cache/assets/test/sprockets/4059619b2636e7c20d35170dfe625a63
umlaut_borrow_direct-1.0.0.pre3 test/dummy/tmp/cache/assets/test/sprockets/4c4d82da23f69029b0c8346855f2effe
umlaut_borrow_direct-1.0.0.pre2 test/dummy/tmp/cache/assets/test/sprockets/4c4d82da23f69029b0c8346855f2effe
umlaut_borrow_direct-1.0.0.pre2 test/dummy/tmp/cache/assets/test/sprockets/4059619b2636e7c20d35170dfe625a63
umlaut_borrow_direct-1.0.0.pre.alpha.1 test/dummy/tmp/cache/assets/test/sprockets/4059619b2636e7c20d35170dfe625a63
umlaut_borrow_direct-1.0.0.pre.alpha.1 test/dummy/tmp/cache/assets/test/sprockets/4c4d82da23f69029b0c8346855f2effe