Sha256: 518a10ee18dcbab2140ace1b423d9c4ba38e6f54adf674688c795dad2d516cf8

Contents?: true

Size: 1.51 KB

Versions: 10

Compression:

Stored size: 1.51 KB

Contents

{I"
class:EFI"ProcessedAsset;FI"logical_path;FI"umlaut/load_permalink.js;TI"
pathname;FI"v/Users/jrochkind/.gem/ruby/1.9.3/bundler/gems/umlaut-0bb3949ce8a4/app/assets/javascripts/umlaut/load_permalink.js;TI"content_type;FI"application/javascript;FI"
mtime;Fl+è«ìTI"length;FižI"digest;F"%fa66d003625107ee77595c545a6c876dI"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"%b030ce3659791bb7d730dba6df97d5c4I"required_paths;F[I"v/Users/jrochkind/.gem/ruby/1.9.3/bundler/gems/umlaut-0bb3949ce8a4/app/assets/javascripts/umlaut/load_permalink.js;TI"dependency_paths;F[{I"	path;FI"v/Users/jrochkind/.gem/ruby/1.9.3/bundler/gems/umlaut-0bb3949ce8a4/app/assets/javascripts/umlaut/load_permalink.js;TI"
mtime;FI"2015-02-24T11:50:48-05:00;FI"digest;F"%fa66d003625107ee77595c545a6c876dI"
_version;F"%4bf7b15359fe8e0974f7f263e26e27f4

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/6007a3b3ef9df950733833c27fc6fca0
umlaut_borrow_direct-1.0.1 test/dummy/tmp/cache/assets/test/sprockets/25f938a477abdb55f6fd26144aecc6df
umlaut_borrow_direct-1.0.0 test/dummy/tmp/cache/assets/test/sprockets/25f938a477abdb55f6fd26144aecc6df
umlaut_borrow_direct-1.0.0 test/dummy/tmp/cache/assets/test/sprockets/6007a3b3ef9df950733833c27fc6fca0
umlaut_borrow_direct-1.0.0.pre3 test/dummy/tmp/cache/assets/test/sprockets/25f938a477abdb55f6fd26144aecc6df
umlaut_borrow_direct-1.0.0.pre3 test/dummy/tmp/cache/assets/test/sprockets/6007a3b3ef9df950733833c27fc6fca0
umlaut_borrow_direct-1.0.0.pre2 test/dummy/tmp/cache/assets/test/sprockets/6007a3b3ef9df950733833c27fc6fca0
umlaut_borrow_direct-1.0.0.pre2 test/dummy/tmp/cache/assets/test/sprockets/25f938a477abdb55f6fd26144aecc6df
umlaut_borrow_direct-1.0.0.pre.alpha.1 test/dummy/tmp/cache/assets/test/sprockets/25f938a477abdb55f6fd26144aecc6df
umlaut_borrow_direct-1.0.0.pre.alpha.1 test/dummy/tmp/cache/assets/test/sprockets/6007a3b3ef9df950733833c27fc6fca0