Remove unused directive

This commit is contained in:
Rohan Mitchell
2014-11-06 14:11:42 +11:00
parent cbb968d87f
commit e50d2a6a37

View File

@@ -1,13 +0,0 @@
Darkswarm.directive "submitCheckout", () ->
restrict: "A"
link: (scope, elm, attr)->
elm.bind 'click', (ev)->
ev.preventDefault()
names = ["details", "billing", "shipping", "payment"]
for name of names
if not scope[name].$valid
$scope.show name
# else
# scope.purchase(ev)