{:uriI"file:///Users/barnabyalter/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/umlaut-4.1.7/app/assets/javascripts/umlaut/load_permalink.js?type=application/javascript&pipeline=self&id=e497cae06a5ea4331bd6be797834069c1b52474a4e154c2888c068a6bd7f1056:ET:load_pathI"k/Users/barnabyalter/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/umlaut-4.1.7/app/assets/javascripts;T:
filenameI"/Users/barnabyalter/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/umlaut-4.1.7/app/assets/javascripts/umlaut/load_permalink.js;T: nameI"umlaut/load_permalink;T:logical_pathI""umlaut/load_permalink.self.js;T:content_typeI"application/javascript;T:sourceI"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('').show();
$.getJSON( originalLink.attr('href'), function(data) {
var href = data.permalink;
var a = $("");
a.attr("href", href);
a.text(href);
valueContainer.html(a).data("loaded", true).show();
});
}
else {
valueContainer.toggle();
}
});
});
;T:
metadata{:dependencieso:Set:
@hash}
I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"file-digest:///Users/barnabyalter/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/umlaut-4.1.7/app/assets/javascripts/umlaut/load_permalink.js;TTF:
requiredo;;} F:stubbedo;;} F:
linkso;;} F:charsetI"
utf-8;F:digest"%n\UQm9V8O)Q:2K~:lengthi:dependencies_digest"%`IۉqeHd&Th'' )>X\(E:idI"Ee497cae06a5ea4331bd6be797834069c1b52474a4e154c2888c068a6bd7f1056;F:
mtimel+dW