Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/core/directive.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ abstract class NgAnnotation {
* * `.class` limit to an element with a given class.
* * `[attribute]` limit to an element with a given attribute name.
* * `[attribute=value]` limit to an element with a given attribute and value.
* * `:contains(/abc/)` limit to an element which contains the given text.
*
*
* Example: `input[type=checkbox][ng-model]`
Expand Down
1 change: 1 addition & 0 deletions lib/core_dom/selector.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ part of angular.core.dom;
* [attribute]
* [attribute=value]
* element[attribute1][attribute2=value]
* :contains(/abc/)
* </pre>
*
*
Expand Down
34 changes: 17 additions & 17 deletions test/core_dom/selector_spec.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,23 +44,23 @@ main() {
beforeEach(() => log = []);
beforeEach(module((Module module) {
module
..type(_BElement)
..type(_BClass)
..type(_DirectiveAttr)
..type(_WildcardDirectiveAttr)
..type(_DirectiveFooAttr)
..type(_BElementDirectiveAttr)
..type(_DirectiveValueAttr)
..type(_BElementDirectiveValue)
..type(_ContainsAbc)
..type(_AttributeContainsXyz)
..type(_Component)
..type(_Attribute)
..type(_Structural)
..type(_IgnoreChildren)
..type(_TwoDirectives)
..type(_OneOfTwoDirectives)
..type(_TwoOfTwoDirectives);
..type(_BElement)
..type(_BClass)
..type(_DirectiveAttr)
..type(_WildcardDirectiveAttr)
..type(_DirectiveFooAttr)
..type(_BElementDirectiveAttr)
..type(_DirectiveValueAttr)
..type(_BElementDirectiveValue)
..type(_ContainsAbc)
..type(_AttributeContainsXyz)
..type(_Component)
..type(_Attribute)
..type(_Structural)
..type(_IgnoreChildren)
..type(_TwoDirectives)
..type(_OneOfTwoDirectives)
..type(_TwoOfTwoDirectives);
}));
beforeEach(inject((DirectiveMap directives) {
selector = directiveSelectorFactory(directives);
Expand Down