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

Commit 193e95c

Browse files
committed
Added ngStrictDI and fixed directive to support it
1 parent a06a2e8 commit 193e95c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/angular-validation.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
* https://github.com/ghiscoding/angular-validation
44
* @author: Ghislain B.
55
* @start-date: 2014-02-04
6-
* @last-update: 2015-01-06
7-
* @last-version: 1.3.4
6+
* @last-update: 2015-02-09
7+
* @last-version: 1.3.6
88
*
99
* @desc: If a field becomes invalid, the text inside the error <span> or <div> will show up because the error string gets filled
1010
* Though when the field becomes valid then the error message becomes an empty string,
@@ -16,6 +16,8 @@
1616
* 1.3.2: Float number validator to also permit dot (.) as first char. Also removed keyboard blocking of invalid character on input type="number" instead display error message.
1717
* 1.3.3: Updated Bootstrap(3.3.1) and AngularJS(1.3.7) to latest versions
1818
* 1.3.4: Removed the necessity of creating a <span> for displaying the error message, the directive now handles it by itself.
19+
* 1.3.5: Throw an error message when user did not provide a name="" property inside the element to validate.
20+
* 1.3.6: Added ng-strict-di for minification, renamed some files and folder lib to /vendors, moved directive into new /src folder for better separation.
1921
*/
2022
angular.module('ghiscoding.validation', ['pascalprecht.translate'])
2123
.directive('validation', ['$translate', '$timeout', function($translate, $timeout) {

0 commit comments

Comments
 (0)