Sha256: bf8fbeb4449345a03ce9991c2a0faa4a0ffe316dd5e1a15562078fd2949ea423

Contents?: true

Size: 1.33 KB

Versions: 2

Compression:

Stored size: 1.33 KB

Contents

{I"
class:ETI"ProcessedAsset;FI"logical_path;TI"%sprangular/directives/confirm.js;FI"
pathname;TI"f/home/josh/Projects/Dynamo/sprangular/app/assets/javascripts/sprangular/directives/confirm.coffee;FI"content_type;TI"application/javascript;TI"
mtime;Tl+Î
TI"length;TiÿI"digest;TI"%58899ac24836706b96dc48366cf702ec;FI"source;TI"ÿ(function() {
  Sprangular.directive("ngConfirmClick", [
    function() {
      return {
        priority: 1,
        terminal: true,
        link: function(scope, element, attr) {
          var clickAction, msg;
          msg = attr.ngConfirmClick || "Are you sure?";
          clickAction = attr.ngClick;
          element.bind("click", function(event) {
            if (window.confirm(msg)) {
              scope.$eval(clickAction);
            }
          });
        }
      };
    }
  ]);

}).call(this);
;TI"dependency_digest;TI"%6e1fca84182efbe7794691a887feefe8;FI"required_paths;T[I"f/home/josh/Projects/Dynamo/sprangular/app/assets/javascripts/sprangular/directives/confirm.coffee;FI"dependency_paths;T[{I"	path;TI"f/home/josh/Projects/Dynamo/sprangular/app/assets/javascripts/sprangular/directives/confirm.coffee;FI"
mtime;TI"2014-09-08T11:41:09-04:00;TI"digest;TI"%652f38b856177dbd7eae4e123687a99d;FI"
_version;TI"%64e62ddc273c2f5847f30d698ca14b67;F

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
sprangular-0.1.0 spec/dummy/tmp/cache/assets/development/sprockets/35e567f47e8f33228843092492935e30
sprangular-0.1.0 spec/dummy/tmp/cache/assets/development/sprockets/75262836eaa6437d98339450c4b0dd80