Sha256: b0bac35368a2d46b919c1c67dd748552a4153d06736af9f51974be5b6d95e9bd

Contents?: true

Size: 1.42 KB

Versions: 5

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"%e5bae27ca5fb399760b03d6c75360802I"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"%95f003119afd4fabcc44ef8c0e89a6baI"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"%e5bae27ca5fb399760b03d6c75360802I"
_version;F"%01511319732b44ed6445e68132ed559b

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
umlaut_borrow_direct-1.0.1 test/dummy/tmp/cache/assets/development/sprockets/4c4d82da23f69029b0c8346855f2effe
umlaut_borrow_direct-1.0.0 test/dummy/tmp/cache/assets/development/sprockets/4c4d82da23f69029b0c8346855f2effe
umlaut_borrow_direct-1.0.0.pre3 test/dummy/tmp/cache/assets/development/sprockets/4c4d82da23f69029b0c8346855f2effe
umlaut_borrow_direct-1.0.0.pre2 test/dummy/tmp/cache/assets/development/sprockets/4c4d82da23f69029b0c8346855f2effe
umlaut_borrow_direct-1.0.0.pre.alpha.1 test/dummy/tmp/cache/assets/development/sprockets/4c4d82da23f69029b0c8346855f2effe