Sha256: d8e7c570d3c7ac544a4a9684e43320f5f40538715d24e02935af7622cca9e179
Contents?: true
Size: 318 Bytes
Versions: 1
Compression:
Stored size: 318 Bytes
Contents
'use strict' Sprangular.directive 'checkoutButton', -> restrict: 'E' scope: user: '=' templateUrl: 'directives/checkout_button.html' controller: ($scope, $location, Cart, Checkout) -> $scope.processing = false $scope.checkout = -> $scope.processing = true $location.path("/checkout")
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sprangular-0.1.0 | app/assets/javascripts/sprangular/directives/checkoutButton.coffee |