From 210e8feae2fb4842bfb2de38666e6c41671fef3c Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Wed, 27 Sep 2017 12:42:48 -0400 Subject: removed lib --- www/lib/angular-wizard/src/wizardButtons.js | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 www/lib/angular-wizard/src/wizardButtons.js (limited to 'www/lib/angular-wizard/src/wizardButtons.js') diff --git a/www/lib/angular-wizard/src/wizardButtons.js b/www/lib/angular-wizard/src/wizardButtons.js deleted file mode 100644 index 0afb46f8..00000000 --- a/www/lib/angular-wizard/src/wizardButtons.js +++ /dev/null @@ -1,26 +0,0 @@ -function wizardButtonDirective(action) { - angular.module('mgo-angular-wizard') - .directive(action, function() { - return { - restrict: 'A', - replace: false, - require: '^wizard', - link: function($scope, $element, $attrs, wizard) { - - $element.on("click", function(e) { - e.preventDefault(); - $scope.$apply(function() { - $scope.$eval($attrs[action]); - wizard[action.replace("wz", "").toLowerCase()](); - }); - }); - } - }; - }); -} - -wizardButtonDirective('wzNext'); -wizardButtonDirective('wzPrevious'); -wizardButtonDirective('wzFinish'); -wizardButtonDirective('wzCancel'); -wizardButtonDirective('wzReset'); -- cgit v1.2.3