This repository was archived by the owner on Feb 22, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +19
-17
lines changed Expand file tree Collapse file tree 3 files changed +19
-17
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ abstract class NgAnnotation {
9
9
* * `.class` limit to an element with a given class.
10
10
* * `[attribute]` limit to an element with a given attribute name.
11
11
* * `[attribute=value]` limit to an element with a given attribute and value.
12
+ * * `:contains(/abc/)` limit to an element which contains the given text.
12
13
*
13
14
*
14
15
* Example: `input[type=checkbox][ng-model]`
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ part of angular.core.dom;
22
22
* [attribute]
23
23
* [attribute=value]
24
24
* element[attribute1][attribute2=value]
25
+ * :contains(/abc/)
25
26
* </pre>
26
27
*
27
28
*
Original file line number Diff line number Diff line change @@ -44,23 +44,23 @@ main() {
44
44
beforeEach (() => log = []);
45
45
beforeEach (module ((Module module) {
46
46
module
47
- ..type (_BElement )
48
- ..type (_BClass )
49
- ..type (_DirectiveAttr )
50
- ..type (_WildcardDirectiveAttr )
51
- ..type (_DirectiveFooAttr )
52
- ..type (_BElementDirectiveAttr )
53
- ..type (_DirectiveValueAttr )
54
- ..type (_BElementDirectiveValue )
55
- ..type (_ContainsAbc )
56
- ..type (_AttributeContainsXyz )
57
- ..type (_Component )
58
- ..type (_Attribute )
59
- ..type (_Structural )
60
- ..type (_IgnoreChildren )
61
- ..type (_TwoDirectives )
62
- ..type (_OneOfTwoDirectives )
63
- ..type (_TwoOfTwoDirectives );
47
+ ..type (_BElement )
48
+ ..type (_BClass )
49
+ ..type (_DirectiveAttr )
50
+ ..type (_WildcardDirectiveAttr )
51
+ ..type (_DirectiveFooAttr )
52
+ ..type (_BElementDirectiveAttr )
53
+ ..type (_DirectiveValueAttr )
54
+ ..type (_BElementDirectiveValue )
55
+ ..type (_ContainsAbc )
56
+ ..type (_AttributeContainsXyz )
57
+ ..type (_Component )
58
+ ..type (_Attribute )
59
+ ..type (_Structural )
60
+ ..type (_IgnoreChildren )
61
+ ..type (_TwoDirectives )
62
+ ..type (_OneOfTwoDirectives )
63
+ ..type (_TwoOfTwoDirectives );
64
64
}));
65
65
beforeEach (inject ((DirectiveMap directives) {
66
66
selector = directives.selector;
You can’t perform that action at this time.
0 commit comments