Skip to content

Commit

Permalink
bump version 1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
hueitan committed May 14, 2014
1 parent 8f7bc2c commit 7b042d2
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 19 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.idea
node_modules
node_modules
npm-debug.log
10 changes: 0 additions & 10 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,6 @@ module.exports = function (grunt) {
}
}
},
connect: {
server: {
options: {
protocol: 'http',
hostname: '*',
port: 8080,
base: ROOT_PATH
}
}
},
browserSync: {
dev: {
bsFiles: {
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
angular-validation 1.1.1
angular-validation 1.1.2
=========================
[![NPM version](https://badge.fury.io/js/angular-validation.svg)](http://badge.fury.io/js/angular-validation)
[![Build Status](https://travis-ci.org/huei90/angular-validation.png?branch=master)](https://travis-ci.org/huei90/angular-validation)
Expand Down Expand Up @@ -336,7 +336,7 @@ see [release](https://github.com/huei90/angular-validation/releases)

Q & A
=====
Can I validate the form when init ? [#10](https://github.com/huei90/angular-validation/issues/10)
###Can I validate the form when init ? [#10](https://github.com/huei90/angular-validation/issues/10)###

```html
<form name="Form">
Expand All @@ -346,11 +346,11 @@ Can I validate the form when init ? [#10](https://github.com/huei90/angular-vali
```
```javascript
$timeout(function () { // call $timeout to make sure the Form Constructor is generated
$validationProvider.validate($scope.Form); // $scope.Form is html form name `Form Constructor`
$validationProvider.validate($scope.Form); // $scope.Form is html form name `Form Constructor`
});
```

What's the differentiate between validator-method `submit` and `submit-only`[#4](https://github.com/huei90/angular-validation/issues/4)
###What's the differentiate between validator-method `submit` and `submit-only`[#4](https://github.com/huei90/angular-validation/issues/4)###

`submit` : when user click submit, then start watching using `watch` to validate
`submit-only` : when user click `submit`, doesn't validate through `watch` until `submit` button is clicked.
`submit` : when user click submit, then start watching using `watch` to validate<br/>
`submit-only` : when user click `submit`, doesn't validate through `watch` until `submit` button is clicked.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-validation",
"version": "1.1.1",
"version": "1.1.2",
"homepage": "https://github.com/huei90/angular-validation",
"authors": [
"huei90"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-validation",
"version": "1.1.1",
"version": "1.1.2",
"description": "Angular Validation",
"repository": {
"type": "git",
Expand Down

0 comments on commit 7b042d2

Please sign in to comment.