Upgrade to angularjs 1.2.0 rc1
This commit is contained in:
parent
d223dfd662
commit
d6b021bfaf
674 changed files with 79667 additions and 62269 deletions
31
lib/angular/docs/partials/api/ng.directive:ngNonBindable.html
Normal file → Executable file
31
lib/angular/docs/partials/api/ng.directive:ngNonBindable.html
Normal file → Executable file
|
@ -1,10 +1,12 @@
|
|||
<h1><code ng:non-bindable="">ngNonBindable</code>
|
||||
<span class="hint">(directive in module <code ng:non-bindable="">ng</code>
|
||||
)</span>
|
||||
<a href="http://github.com/angular/angular.js/tree/v1.2.0rc1/src/ng/directive/ngNonBindable.js#L3" class="view-source btn btn-action"><i class="icon-zoom-in"> </i> View source</a><a href="http://github.com/angular/angular.js/edit/master/src/ng/directive/ngNonBindable.js" class="improve-docs btn btn-primary"><i class="icon-edit"> </i> Improve this doc</a><h1><code ng:non-bindable="">ngNonBindable</code>
|
||||
<div><span class="hint">directive in module <code ng:non-bindable="">ng</code>
|
||||
</span>
|
||||
</div>
|
||||
</h1>
|
||||
<div><a href="http://github.com/angular/angular.js/edit/master/src/ng/directive/ngNonBindable.js" class="improve-docs btn btn-primary">Improve this doc</a><h2 id="Description">Description</h2>
|
||||
<div class="description"><p>Sometimes it is necessary to write code which looks like bindings but which should be left alone
|
||||
by angular. Use <code>ngNonBindable</code> to make angular ignore a chunk of HTML.</p></div>
|
||||
<div><h2 id="Description">Description</h2>
|
||||
<div class="description"><div class="ng-directive-page ng-directive-ngnonbindable-page"><p>Sometimes it is necessary to write code which looks like bindings but which should be left alone
|
||||
by angular. Use <code>ngNonBindable</code> to make angular ignore a chunk of HTML.</p>
|
||||
</div></div>
|
||||
<h2 id="Usage">Usage</h2>
|
||||
<div class="usage">as attribute<pre class="prettyprint linenums"><ANY ng-non-bindable>
|
||||
...
|
||||
|
@ -18,18 +20,18 @@ as class<pre class="prettyprint linenums"><ANY class="ng-non-bindable">
|
|||
</div>
|
||||
</div>
|
||||
<h2 id="Example">Example</h2>
|
||||
<div class="example"><h4>Source</h4>
|
||||
<div source-edit="" source-edit-deps="angular.js" source-edit-html="index.html-164" source-edit-css="" source-edit-js="" source-edit-unit="" source-edit-scenario="scenario.js-165"></div>
|
||||
<div class="example"><div class="ng-directive-page ng-directive-ngnonbindable-page"><h4>Source</h2>
|
||||
<div source-edit="" source-edit-deps="angular.js" source-edit-html="index.html-83" source-edit-css="" source-edit-js="" source-edit-json="" source-edit-unit="" source-edit-scenario="scenario.js-84"></div>
|
||||
<div class="tabbable"><div class="tab-pane" title="index.html">
|
||||
<pre class="prettyprint linenums" ng-set-text="index.html-164" ng-html-wrap=" angular.js"></pre>
|
||||
<script type="text/ng-template" id="index.html-164">
|
||||
<pre class="prettyprint linenums" ng-set-text="index.html-83" ng-html-wrap=" angular.js"></pre>
|
||||
<script type="text/ng-template" id="index.html-83">
|
||||
<div>Normal: {{1 + 2}}</div>
|
||||
<div ng-non-bindable>Ignored: {{1 + 2}}</div>
|
||||
</script>
|
||||
</div>
|
||||
<div class="tab-pane" title="End to end test">
|
||||
<pre class="prettyprint linenums" ng-set-text="scenario.js-165"></pre>
|
||||
<script type="text/ng-template" id="scenario.js-165">
|
||||
<pre class="prettyprint linenums" ng-set-text="scenario.js-84"></pre>
|
||||
<script type="text/ng-template" id="scenario.js-84">
|
||||
it('should check ng-non-bindable', function() {
|
||||
expect(using('.doc-example-live').binding('1 + 2')).toBe('3');
|
||||
expect(using('.doc-example-live').element('div:last').text()).
|
||||
|
@ -37,6 +39,7 @@ as class<pre class="prettyprint linenums"><ANY class="ng-non-bindable">
|
|||
});
|
||||
</script>
|
||||
</div>
|
||||
</div><h4>Demo</h4>
|
||||
<div class="well doc-example-live animator-container" ng-embed-app="" ng-set-html="index.html-164" ng-eval-javascript=""></div></div>
|
||||
</div><h2>Demo</h4>
|
||||
<div class="well doc-example-live animate-container" ng-embed-app="" ng-set-html="index.html-83" ng-eval-javascript=""></div>
|
||||
</div></div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue