diff options
Diffstat (limited to 'src/ng/directive/ngNonBindable.js')
| -rw-r--r-- | src/ng/directive/ngNonBindable.js | 12 |
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 }); |
