Skip to content

Commit

Permalink
Merge 2afaca6 into 5344320
Browse files Browse the repository at this point in the history
  • Loading branch information
sbedulin committed Nov 23, 2015
2 parents 5344320 + 2afaca6 commit 64b1600
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions angular-debounce.js
@@ -1,7 +1,7 @@
'use strict';

angular.module('debounce', [])
.service('debounce', ['$timeout', function ($timeout) {
'use strict';

return function (func, wait, immediate, invokeApply) {
var timeout, args, context, result;
function debounce() {
Expand Down Expand Up @@ -32,6 +32,8 @@ angular.module('debounce', [])
};
}])
.directive('debounce', ['debounce', '$parse', function (debounce, $parse) {
'use strict';

return {
require: 'ngModel',
priority: 999,
Expand Down

0 comments on commit 64b1600

Please sign in to comment.