aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/directive/ngNonBindable.js
diff options
context:
space:
mode:
authorPeter Bacon Darwin2014-02-07 20:34:04 +0000
committerPeter Bacon Darwin2014-02-16 19:03:40 +0000
commit1192ae44f1d7f944719520f235e9f2ec895bdfd5 (patch)
tree4d4f06b9448731e2b34ddd2441a0a13dccfc8301 /src/ng/directive/ngNonBindable.js
parentf7c8bcb329eb77b153cd91fcf35c5874a6f9a4b3 (diff)
downloadangular.js-1192ae44f1d7f944719520f235e9f2ec895bdfd5.tar.bz2
docs(bike-shed-migration): convert <doc:...> examples to <example>...
Diffstat (limited to 'src/ng/directive/ngNonBindable.js')
-rw-r--r--src/ng/directive/ngNonBindable.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ng/directive/ngNonBindable.js b/src/ng/directive/ngNonBindable.js
index cf98f531..3690f2df 100644
--- a/src/ng/directive/ngNonBindable.js
+++ b/src/ng/directive/ngNonBindable.js
@@ -19,17 +19,17 @@
* but the one wrapped in `ngNonBindable` is left alone.
*
* @example
- <doc:example>
- <doc:source>
+ <example>
+ <file name="index.html">
<div>Normal: {{1 + 2}}</div>
<div ng-non-bindable>Ignored: {{1 + 2}}</div>
- </doc:source>
- <doc:protractor>
+ </file>
+ </file name="protractor.js" type="protractor">
it('should check ng-non-bindable', function() {
expect(element(by.binding('1 + 2')).getText()).toContain('3');
expect(element.all(by.css('.doc-example-live div')).last().getText()).toMatch(/1 \+ 2/);
});
- </doc:protractor>
- </doc:example>
+ </file>
+ </example>
*/
var ngNonBindableDirective = ngDirective({ terminal: true, priority: 1000 });