Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(217)

Side by Side Diff: third_party/pkg/angular/lib/directive/ng_non_bindable.dart

Issue 257423008: Update all Angular libs (run update_all.sh). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 part of angular.directive; 1 part of angular.directive;
2 2
3 /** 3 /**
4 * Causes the compiler to ignore all Angular directives and markup on descendant 4 * Causes the compiler to ignore all Angular directives and markup on descendant
5 * nodes of the matching element. Note, however, that other directives and 5 * nodes of the matching element. Note, however, that other directives and
6 * markup on the element are still processed and that only descending the DOM 6 * markup on the element are still processed and that only descending the DOM
7 * for compilation is prevented. 7 * for compilation is prevented.
8 * 8 *
9 * Example: 9 * Example:
10 * 10 *
11 * <div foo="{{a}}" ng-non-bindable> 11 * <div foo="{{a}}" ng-non-bindable>
12 * <span ng-bind="b"></span>{{b}} 12 * <span ng-bind="b"></span>{{b}}
13 * </div> 13 * </div>
14 * 14 *
15 * In the above example, because the `div` element has the `ng-non-bindable` 15 * In the above example, because the `div` element has the `ng-non-bindable`
16 * attribute set on it, the `ng-bind` directive and the interpolation for 16 * attribute set on it, the `ng-bind` directive and the interpolation for
17 * `{{b}}` are not processed because Angular will not process the `span` child 17 * `{{b}}` are not processed because Angular will not process the `span` child
18 * element. However, the `foo` attribute *will* be interpolated because it is 18 * element. However, the `foo` attribute *will* be interpolated because it is
19 * not on a child node. 19 * not on a child node.
20 */ 20 */
21 @NgDirective( 21 @Decorator(
22 selector: '[ng-non-bindable]', 22 selector: '[ng-non-bindable]',
23 children: NgAnnotation.IGNORE_CHILDREN) 23 children: Directive.IGNORE_CHILDREN)
24 class NgNonBindableDirective {} 24 class NgNonBindable {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698