Sha256: b9d4a92b8fd5a1be556e4dffc9e3c05cb3f9453c3cdd9460c2efdea397b43982

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"%c3ca616213e03e8bc29946b6f3f45f11;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"%8a985970accdaecb0fcb42ac94f63f59;FI"
_version;TI"%6584930913c75ff69ba506e1cfbae2c9;F

Version data entries

4 entries across 2 versions & 1 rubygems

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