Sha256: 82f3ddeb2c535ec5ec2a7dd06a852284aa47938a8fe86a18ad6eaa5c5cc16455

Contents?: true

Size: 1.38 KB

Versions: 2

Compression:

Stored size: 1.38 KB

Contents

{I"
class:ETI"ProcessedAsset;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"dependency_digest;TI"%b98fb6882f1c27d6f0b6c9dab106ebc0;FI"required_paths;T[I"v/home/sindre/Code/hyper/hyper_admin/app/assets/javascripts/hyper_admin/angularjs/directives/delete_link.js.coffee;FI"dependency_paths;T[{I"	path;TI"v/home/sindre/Code/hyper/hyper_admin/app/assets/javascripts/hyper_admin/angularjs/directives/delete_link.js.coffee;FI"
mtime;TI"2014-09-11T23:05:15+02:00;TI"digest;TI"%b6c3ddac9443bffafff1ff42ca9dca45;FI"
_version;TI"%3e3098c8a5e9a7f3b984ba95ac600637;F

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hyper_admin-0.2.0 spec/dummy/tmp/cache/assets/development/sprockets/91a5cc4a6166e54d588c8decf774d04a
hyper_admin-0.1.0 spec/dummy/tmp/cache/assets/development/sprockets/91a5cc4a6166e54d588c8decf774d04a