Sha256: 291b05b4f288b1f60c3c93e60eccbde88e86054f636e197b3ba05dba74d301c3

Contents?: true

Size: 1.1 KB

Versions: 10

Compression:

Stored size: 1.1 KB

Contents

{I"
class:EFI"BundledAsset;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"required_assets_digest;F"%95f003119afd4fabcc44ef8c0e89a6baI"
_version;F"%01511319732b44ed6445e68132ed559b

Version data entries

10 entries across 5 versions & 1 rubygems

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