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

Commit

Permalink
1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
PowerKiKi committed Nov 28, 2015
1 parent 3a44bed commit 5f020d9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dist/validate.js
@@ -1,7 +1,7 @@
/*!
* angular-ui-validate
* https://github.com/angular-ui/ui-validate
* Version: 1.2.1 - 2015-10-23T01:54:01.326Z
* Version: 1.2.2 - 2015-11-28T04:00:20.151Z
* License: MIT
*/

Expand Down Expand Up @@ -75,7 +75,7 @@ angular.module('ui.validate',[])
// Return as valid for now. Validity is updated when promise resolves.
return true;
} else {
return expression;
return !!expression; // Transform 'undefined' to false (to avoid corrupting the NgModelController and the FormController)
}
};
ctrl.$validators[key] = validateFn;
Expand Down
4 changes: 2 additions & 2 deletions dist/validate.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "angular-ui-validate",
"version": "1.2.1",
"version": "1.2.2",
"author": "https://github.com/angular-ui/ui-validate/graphs/contributors",
"license": "MIT",
"homepage": "https://github.com/angular-ui/ui-validate",
Expand Down

0 comments on commit 5f020d9

Please sign in to comment.