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

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

Issue 1058283006: Update pubspecs and dependencies to get pkgbuild tests working. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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
(Empty)
1 part of angular.directive;
2
3 /**
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
6 * markup on the element are still processed and that only descending the DOM
7 * for compilation is prevented.
8 *
9 * Example:
10 *
11 * <div foo="{{a}}" ng-non-bindable>
12 * <span ng-bind="b"></span>{{b}}
13 * </div>
14 *
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
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
19 * not on a child node.
20 */
21 @NgDirective(
22 selector: '[ng-non-bindable]',
23 children: NgAnnotation.IGNORE_CHILDREN)
24 class NgNonBindableDirective {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698