diff options
| author | Misko Hevery | 2010-07-02 15:39:47 -0700 | 
|---|---|---|
| committer | Misko Hevery | 2010-07-02 15:39:57 -0700 | 
| commit | 1f0562150921ea2f05149b64ef0440937491def9 (patch) | |
| tree | 20c1c2c69038a7d02d720b811453df6438d274a5 /scenario | |
| parent | 105e9443c4170870dd34f69073a6eafaabeaf567 (diff) | |
| download | angular.js-1f0562150921ea2f05149b64ef0440937491def9.tar.bz2 | |
change all attributes from ng- to ng: prefix
Diffstat (limited to 'scenario')
| -rw-r--r-- | scenario/application-account.html | 4 | ||||
| -rw-r--r-- | scenario/application.html | 6 | ||||
| -rw-r--r-- | scenario/cross-site-post/index.html | 2 | ||||
| -rw-r--r-- | scenario/datastore.html | 4 | ||||
| -rw-r--r-- | scenario/perf.html | 6 | ||||
| -rw-r--r-- | scenario/widgets.html | 6 | 
6 files changed, 14 insertions, 14 deletions
diff --git a/scenario/application-account.html b/scenario/application-account.html index a43deffc..81176df7 100644 --- a/scenario/application-account.html +++ b/scenario/application-account.html @@ -1,6 +1,6 @@ -<div ng-controller="AccountController"> +<div ng:controller="AccountController">  account page goes here!    <input type="text" name="name" value="misko"/> -  <button ng-click="hello()">hello</button> +  <button ng:click="hello()">hello</button>  </div> diff --git a/scenario/application.html b/scenario/application.html index 6b6ced69..5d5bb809 100644 --- a/scenario/application.html +++ b/scenario/application.html @@ -16,14 +16,14 @@      </script>    </head> -  <body ng-init="$window.$scope = this"> +  <body ng:init="$window.$scope = this">      [ <a href="#login">login</a>      | <a href="#account">account</a>      ]      <ng:switch on="$location.hashPath"> -      <div ng-switch-when="login">login screen</div> -      <ng:include ng-switch-when="account" src="'application-account.html'"></ng:include> +      <div ng:switch-when="login">login screen</div> +      <ng:include ng:switch-when="account" src="'application-account.html'"></ng:include>      </ng:switch> diff --git a/scenario/cross-site-post/index.html b/scenario/cross-site-post/index.html index 3ff6af85..d7a87d3b 100644 --- a/scenario/cross-site-post/index.html +++ b/scenario/cross-site-post/index.html @@ -4,7 +4,7 @@      <script type="text/javascript" src="../../src/angular-bootstrap.js#autobind"></script>    </head>    <body ng:init="$window.$scope = this; People = $resource('People.json')"> -  <button ng-click="people = People.query()">Load People</button> +  <button ng:click="people = People.query()">Load People</button>    <pre>people = {{people}}</pre>    </body>   </html> diff --git a/scenario/datastore.html b/scenario/datastore.html index 525d3636..1720b3bc 100644 --- a/scenario/datastore.html +++ b/scenario/datastore.html @@ -8,9 +8,9 @@        $(document).ready(function(){angular.compile(document).init();});      </script>    </head> -  <body ng-entity="book=Book" ng-init="books=Book.all()"> +  <body ng-entity="book=Book" ng:init="books=Book.all()">      <p>{{book.$id}}</p> -    <li ng-repeat="book in books.$orderBy('name')"> +    <li ng:repeat="book in books.$orderBy('name')">        <li>{{book.name}}</li>      </li>    </body> diff --git a/scenario/perf.html b/scenario/perf.html index 50a8d28f..94af8b69 100644 --- a/scenario/perf.html +++ b/scenario/perf.html @@ -20,12 +20,12 @@        };      </script>    </head> -  <body ng:init="$window.$scope = this; items = createItems()" ng-controller="PerfCntl"> +  <body ng:init="$window.$scope = this; items = createItems()" ng:controller="PerfCntl">      <input type="text" name="text"/>      <hr/>      <ul> -      <li Xng-repeat="item in items.$filter('').$orderBy('name')" -          ng-repeat="item in items"> +      <li Xng:repeat="item in items.$filter('').$orderBy('name')" +          ng:repeat="item in items">          {{item.name}} <a href="#{{item.name}}">{{item.parts.join(', ')}}</a>        </li>      </ul> diff --git a/scenario/widgets.html b/scenario/widgets.html index 86269e86..2626843d 100644 --- a/scenario/widgets.html +++ b/scenario/widgets.html @@ -72,7 +72,7 @@        </tr>        <tr><th colspan="3">Buttons</th></tr>        <tr> -        <td>ng-change<br/>ng-click</td> +        <td>ng-change<br/>ng:click</td>          <td ng:init="button.count = 0">            <form>             <input type="button" value="button" ng-change="button.count = button.count + 1"/> <br/> @@ -85,10 +85,10 @@        </tr>        <tr><th colspan="3">Repeaters</th></tr>        <tr> -        <td>ng-repeat</td> +        <td>ng:repeat</td>          <td>            <ul> -            <li ng-repeat="name in ['misko', 'adam']">{{name}}</li> +            <li ng:repeat="name in ['misko', 'adam']">{{name}}</li>            </ul>          </td>          <td></td>  | 
