Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Commit c2c0feb

Browse files
committed
Merge pull request #7 from schmkr/master
Fixed an issue with missing injector annotation
2 parents e60d2dd + 4b7c924 commit c2c0feb

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

dist/validate.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* angular-ui-validate
33
* https://github.com/angular-ui/ui-validate
4-
* Version: 1.1.0 - 2015-07-13T09:57:54.187Z
4+
* Version: 1.1.0 - 2015-07-14T09:04:12.726Z
55
* License: MIT
66
*/
77

@@ -38,7 +38,7 @@
3838
* all validators in ngModel.$validators reports as valid.
3939
*/
4040
angular.module('ui.validate',[])
41-
.directive('uiValidate', function($$uiValidateApplyWatch) {
41+
.directive('uiValidate', ['$$uiValidateApplyWatch', function($$uiValidateApplyWatch) {
4242

4343
return {
4444
restrict: 'A',
@@ -87,8 +87,8 @@ angular.module('ui.validate',[])
8787
}
8888
}
8989
};
90-
})
91-
.directive('uiValidateAsync', function ($$uiValidateApplyWatch, $timeout, $q) {
90+
}])
91+
.directive('uiValidateAsync', ['$$uiValidateApplyWatch', '$timeout', '$q', function ($$uiValidateApplyWatch, $timeout, $q) {
9292

9393
return {
9494
restrict: 'A',
@@ -136,7 +136,7 @@ angular.module('ui.validate',[])
136136
}
137137
}
138138
};
139-
})
139+
}])
140140
.service('$$uiValidateApplyWatch', function() {
141141
return function(scope, ctrl, watch) {
142142

dist/validate.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/validate.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* all validators in ngModel.$validators reports as valid.
2929
*/
3030
angular.module('ui.validate',[])
31-
.directive('uiValidate', function($$uiValidateApplyWatch) {
31+
.directive('uiValidate', ['$$uiValidateApplyWatch', function($$uiValidateApplyWatch) {
3232

3333
return {
3434
restrict: 'A',
@@ -77,8 +77,8 @@ angular.module('ui.validate',[])
7777
}
7878
}
7979
};
80-
})
81-
.directive('uiValidateAsync', function ($$uiValidateApplyWatch, $timeout, $q) {
80+
}])
81+
.directive('uiValidateAsync', ['$$uiValidateApplyWatch', '$timeout', '$q', function ($$uiValidateApplyWatch, $timeout, $q) {
8282

8383
return {
8484
restrict: 'A',
@@ -126,7 +126,7 @@ angular.module('ui.validate',[])
126126
}
127127
}
128128
};
129-
})
129+
}])
130130
.service('$$uiValidateApplyWatch', function() {
131131
return function(scope, ctrl, watch) {
132132

0 commit comments

Comments
 (0)