From 7b042d26c83f5cfc3adc02109e9f7c6a7c20e774 Mon Sep 17 00:00:00 2001 From: huei90 Date: Wed, 14 May 2014 14:02:28 +0800 Subject: [PATCH] bump version 1.1.2 --- .gitignore | 3 ++- Gruntfile.js | 10 ---------- README.md | 12 ++++++------ bower.json | 2 +- package.json | 2 +- 5 files changed, 10 insertions(+), 19 deletions(-) diff --git a/.gitignore b/.gitignore index 2d2b47d..db7964a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .idea -node_modules \ No newline at end of file +node_modules +npm-debug.log \ No newline at end of file diff --git a/Gruntfile.js b/Gruntfile.js index 06a1915..253799a 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -42,16 +42,6 @@ module.exports = function (grunt) { } } }, - connect: { - server: { - options: { - protocol: 'http', - hostname: '*', - port: 8080, - base: ROOT_PATH - } - } - }, browserSync: { dev: { bsFiles: { diff --git a/README.md b/README.md index d69f37e..f7433e2 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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
@@ -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
+`submit-only` : when user click `submit`, doesn't validate through `watch` until `submit` button is clicked. \ No newline at end of file diff --git a/bower.json b/bower.json index 62d5c8e..3dabd9d 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "angular-validation", - "version": "1.1.1", + "version": "1.1.2", "homepage": "https://github.com/huei90/angular-validation", "authors": [ "huei90" diff --git a/package.json b/package.json index 67bb1b2..2ba8566 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "angular-validation", - "version": "1.1.1", + "version": "1.1.2", "description": "Angular Validation", "repository": { "type": "git",