Sha256: 6d381f705fe6961a184a787b622cc4564be6e29fb64b52f253ba472bf0acbbc6

Contents?: true

Size: 1.56 KB

Versions: 2

Compression:

Stored size: 1.56 KB

Contents

{I"
class:ETI"ProcessedAsset;FI"logical_path;TI")sprangular/directives/cartPopover.js;FI"
pathname;TI"j/home/josh/Projects/Dynamo/sprangular/app/assets/javascripts/sprangular/directives/cartPopover.coffee;FI"content_type;TI"application/javascript;TI"
mtime;Tl+"UI"length;TiÓI"digest;TI"%fd67e6eec06a8c09791bf175a85744b9;FI"source;TI"Ó(function() {
  'use strict';
  Sprangular.directive('cartPopover', function($timeout, $rootScope, $popover) {
    return {
      restrict: 'E',
      template: '<span/>',
      link: function(scope, element, attrs) {
        var content, popover;
        content = {};
        attrs.autoClose = true;
        attrs.trigger = "manual";
        attrs.template = "cart/popover.html";
        attrs.content = content;
        popover = $popover(element, attrs);
        return $rootScope.$on('cart.add', function(event, args) {
          content.variant = args.variant;
          content.qty = args.qty;
          popover.show();
          return $timeout(popover.hide, 3000);
        });
      }
    };
  });

}).call(this);
;TI"dependency_digest;TI"%825fa29c7c028ceb94b73efda0d4d2e0;FI"required_paths;T[I"j/home/josh/Projects/Dynamo/sprangular/app/assets/javascripts/sprangular/directives/cartPopover.coffee;FI"dependency_paths;T[{I"	path;TI"j/home/josh/Projects/Dynamo/sprangular/app/assets/javascripts/sprangular/directives/cartPopover.coffee;FI"
mtime;TI"2015-03-25T16:05:54-04:00;TI"digest;TI"%1c0622dd424809bfd92c5dca30f21172;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/274b7bbce98bd492be70c14de66bbaaf
sprangular-0.1.0 spec/dummy/tmp/cache/assets/development/sprockets/4510acb1889f0a1fd905f23231f1a94d