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

Version Path
hyper_admin-0.2.0 spec/dummy/tmp/cache/assets/development/sprockets/01924c706dd1b7de217f342099dcfa3f
hyper_admin-0.2.0 spec/dummy/tmp/cache/assets/development/sprockets/3a89445fd816e24e5e7c863fdc42b675
hyper_admin-0.1.0 spec/dummy/tmp/cache/assets/development/sprockets/01924c706dd1b7de217f342099dcfa3f
hyper_admin-0.1.0 spec/dummy/tmp/cache/assets/development/sprockets/3a89445fd816e24e5e7c863fdc42b675