diff options
| author | Igor Minar | 2012-04-04 15:56:12 -0700 |
|---|---|---|
| committer | Igor Minar | 2012-04-04 15:56:15 -0700 |
| commit | fdf17d729fa7651e88dc5f27c40b8de875a34a55 (patch) | |
| tree | 397c761a463488bb625ba9b99a51f77991b19d2c /docs/content | |
| parent | 85776c0d37316c5aaecd84eedec275bac2cd0298 (diff) | |
| download | angular.js-fdf17d729fa7651e88dc5f27c40b8de875a34a55.tar.bz2 | |
fix(docs): remove ngModelInstant from all examples
just fixing leftover code after the removal of ngModelInstant
Diffstat (limited to 'docs/content')
| -rw-r--r-- | docs/content/api/angular.module.ng.$compileProvider.directive.ngdoc | 2 | ||||
| -rw-r--r-- | docs/content/cookbook/form.ngdoc | 8 | ||||
| -rw-r--r-- | docs/content/misc/started.ngdoc | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/docs/content/api/angular.module.ng.$compileProvider.directive.ngdoc b/docs/content/api/angular.module.ng.$compileProvider.directive.ngdoc index 43b03ae4..f66aa9a1 100644 --- a/docs/content/api/angular.module.ng.$compileProvider.directive.ngdoc +++ b/docs/content/api/angular.module.ng.$compileProvider.directive.ngdoc @@ -38,7 +38,7 @@ the following example. } </script> <div ng-controller="Ctrl1"> - Hello <input ng-model='name' ng-model-instant> <hr/> + Hello <input ng-model='name'> <hr/> <span ng:bind="name"> <span ng:bind="name"></span> <br/> <span ng_bind="name"> <span ng_bind="name"></span> <br/> <span ng-bind="name"> <span ng-bind="name"></span> <br/> diff --git a/docs/content/cookbook/form.ngdoc b/docs/content/cookbook/form.ngdoc index 175a7275..b335cecf 100644 --- a/docs/content/cookbook/form.ngdoc +++ b/docs/content/cookbook/form.ngdoc @@ -38,9 +38,9 @@ allow a user to enter data. <input type="text" ng-model="user.name" required/> <br><br> <label>Address:</label><br> - <input type="text" ng-model="user.address.line1" ng-model-instant size="33" required> <br> - <input type="text" ng-model="user.address.city" ng-model-instant size="12" required>, - <input type="text" ng-model="user.address.state" ng-model-instant + <input type="text" ng-model="user.address.line1" size="33" required> <br> + <input type="text" ng-model="user.address.city" size="12" required>, + <input type="text" ng-model="user.address.state" ng-pattern="state" size="2" required> <input type="text" ng-model="user.address.zip" size="5" ng-pattern="zip" required><br><br> @@ -54,7 +54,7 @@ allow a user to enter data. <option>pager</option> <option>IM</option> </select> - <input type="text" ng-model="contact.value" ng-model-instant required/> + <input type="text" ng-model="contact.value" required> [ <a href="" ng-click="removeContact(contact)">X</a> ] </div> <hr/> diff --git a/docs/content/misc/started.ngdoc b/docs/content/misc/started.ngdoc index 0559e401..76bff181 100644 --- a/docs/content/misc/started.ngdoc +++ b/docs/content/misc/started.ngdoc @@ -65,7 +65,7 @@ This example demonstrates angular's two-way data binding: <doc:example> <doc:source> - Your name: <input type="text" ng-model="yourname" ng-model-instant placeholder="World"> + Your name: <input type="text" ng-model="yourname" placeholder="World"> <hr> Hello {{yourname || 'World'}}! </doc:source> |
