Sha256: 4ebb22af24fe8c78abcd02a25473c605d4ecb33dea088b9bd118f01ab90792b0

Contents?: true

Size: 1.42 KB

Versions: 3

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"%da11dca7fa9e10e09dc8c15d13cf6658I"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"%c54e8621f1dbc9de9f22e3f62571cf13I"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"%da11dca7fa9e10e09dc8c15d13cf6658I"
_version;F"%6584930913c75ff69ba506e1cfbae2c9

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
umlaut-4.0.0.beta3 ./test/dummy/tmp/cache/assets/development/sprockets/4c4d82da23f69029b0c8346855f2effe
umlaut-4.0.0.beta2 ./test/dummy/tmp/cache/assets/development/sprockets/4c4d82da23f69029b0c8346855f2effe
umlaut-4.0.0.beta1 ./test/dummy/tmp/cache/assets/development/sprockets/4c4d82da23f69029b0c8346855f2effe