Sha256: bba16f9a9ee5c55597459cb6c037f16a477055057ed2c53c2410d61e975e029b
Contents?: true
Size: 1016 Bytes
Versions: 4
Compression:
Stored size: 1016 Bytes
Contents
{I" class:ETI"BundledAsset; FI"logical_path; TI"4hyper_admin/angularjs/directives/delete_link.js; FI" pathname; TI"v/home/sindre/Code/hyper/hyper_admin/app/assets/javascripts/hyper_admin/angularjs/directives/delete_link.js.coffee; FI"content_type; TI"application/javascript; TI" mtime; Tl+‹TI"length; TiìI"digest; TI"%54d9b3726d469b83012158092025180e; FI"source; TI"ì(function() { angular.module("hyperadmin").directive("deleteLink", function($http) { return { link: function(scope, element, attributes) { return element.off("click").on("click", function(event) { var href; event.preventDefault(); href = element.attr("href"); if (href) { return $http({ method: "DELETE", url: href }); } }); } }; }); }).call(this); ; TI"required_assets_digest; TI"%b98fb6882f1c27d6f0b6c9dab106ebc0; FI" _version; TI"%3e3098c8a5e9a7f3b984ba95ac600637; F
Version data entries
4 entries across 2 versions & 1 rubygems