Update Angular to 1.2.0 RC2
This commit is contained in:
parent
7416269494
commit
0d3a40980e
184 changed files with 17993 additions and 21133 deletions
|
@ -3,10 +3,10 @@
|
|||
</div>
|
||||
</h1>
|
||||
<div><div class="cookbook-page cookbook-hello-world-page"><h3>Source</h2>
|
||||
<div source-edit="" source-edit-deps="angular.js script.js" source-edit-html="index.html-166" source-edit-css="" source-edit-js="script.js-165" source-edit-json="" source-edit-unit="" source-edit-scenario="scenario.js-167"></div>
|
||||
<div source-edit="" source-edit-deps="angular.js script.js" source-edit-html="index.html-174" source-edit-css="" source-edit-js="script.js-173" source-edit-json="" source-edit-unit="" source-edit-scenario="scenario.js-175"></div>
|
||||
<div class="tabbable"><div class="tab-pane" title="index.html">
|
||||
<pre class="prettyprint linenums" ng-set-text="index.html-166" ng-html-wrap=" angular.js script.js"></pre>
|
||||
<script type="text/ng-template" id="index.html-166">
|
||||
<pre class="prettyprint linenums" ng-set-text="index.html-174" ng-html-wrap=" angular.js script.js"></pre>
|
||||
<script type="text/ng-template" id="index.html-174">
|
||||
|
||||
<div ng-controller="HelloCntl">
|
||||
Your name: <input type="text" ng-model="name"/>
|
||||
|
@ -16,16 +16,16 @@
|
|||
</script>
|
||||
</div>
|
||||
<div class="tab-pane" title="script.js">
|
||||
<pre class="prettyprint linenums" ng-set-text="script.js-165"></pre>
|
||||
<script type="text/ng-template" id="script.js-165">
|
||||
<pre class="prettyprint linenums" ng-set-text="script.js-173"></pre>
|
||||
<script type="text/ng-template" id="script.js-173">
|
||||
function HelloCntl($scope) {
|
||||
$scope.name = 'World';
|
||||
}
|
||||
</script>
|
||||
</div>
|
||||
<div class="tab-pane" title="End to end test">
|
||||
<pre class="prettyprint linenums" ng-set-text="scenario.js-167"></pre>
|
||||
<script type="text/ng-template" id="scenario.js-167">
|
||||
<pre class="prettyprint linenums" ng-set-text="scenario.js-175"></pre>
|
||||
<script type="text/ng-template" id="scenario.js-175">
|
||||
it('should change the binding when user enters text', function() {
|
||||
expect(binding('name')).toEqual('World');
|
||||
input('name').enter('angular');
|
||||
|
@ -34,7 +34,7 @@
|
|||
</script>
|
||||
</div>
|
||||
</div><h2>Demo</h3>
|
||||
<div class="well doc-example-live animate-container" ng-embed-app="" ng-set-html="index.html-166" ng-eval-javascript="script.js-165"></div>
|
||||
<div class="well doc-example-live animate-container" ng-embed-app="" ng-set-html="index.html-174" ng-eval-javascript="script.js-173"></div>
|
||||
<h2>Things to notice</h2>
|
||||
<p>Take a look through the source and note:</p>
|
||||
<ul>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue