Skip to content

Commit

Permalink
fix(mask): Remove if promise
Browse files Browse the repository at this point in the history
  • Loading branch information
candreoliveira committed Aug 31, 2015
1 parent b94ee5c commit 2fc1e52
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/directives/mask.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@

return {
pre: function($scope, $element, $attrs, controller) {
if (!promise)
return;
promise = maskService.generateRegex({
mask: $attrs.mask,
// repeat mask expression n times
Expand Down

0 comments on commit 2fc1e52

Please sign in to comment.