Skip to content

Commit d72619e

Browse files
committed
more angle brackets
1 parent 5384943 commit d72619e

9 files changed

Lines changed: 66 additions & 0 deletions

bin/cli.js

100644100755
File mode changed.

bin/telemetry.js

100644100755
File mode changed.

transforms/no-implicit-this/__testfixtures__/-mock-telemetry.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,20 @@
99
"computedProperties": ["foo", "records"],
1010
"ownActions": ["myAction"]
1111
},
12+
"angle-brackets-with-block-params.input": {
13+
"type": "Component",
14+
"computedProperties": ["foo", "property", "bar"],
15+
"ownActions": ["myAction"]
16+
},
17+
"angle-brackets-with-hash-params.input": {
18+
"type": "Component",
19+
"computedProperties": ["foo", "property"],
20+
"ownActions": ["myAction"]
21+
},
22+
"angle-brackets-without-params.input": {
23+
"type": "Component",
24+
"computedProperties": ["foo"]
25+
},
1226
"handlebars-with-positional-params.input": {
1327
"type": "Component",
1428
"computedProperties": ["foo", "property"],
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<SomeComponent as |foo hash components|>
2+
{{foo}}
3+
{{hash.property}}
4+
5+
<components.foo as |property|>
6+
{{property}}
7+
</components.foo>
8+
9+
<components.bar />
10+
11+
</SomeComponent>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<SomeComponent as |foo hash components|>
2+
{{foo}}
3+
{{hash.property}}
4+
5+
<components.foo as |property|>
6+
{{property}}
7+
</components.foo>
8+
9+
<components.bar />
10+
11+
</SomeComponent>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<a href='invalid-url' disabled></a>
2+
<input value="something">
3+
4+
<SomeComponent @arg="value" />
5+
<SomeComponent @arg=1 />
6+
<SomeComponent @arg=foo />
7+
<SomeComponent @arg={{foo}} @bar={{property}} />
8+
<SomeComponent @arg={{foo}} @bar={{fn myAction}} />
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<a href='invalid-url' disabled></a>
2+
<input value="something">
3+
4+
<SomeComponent @arg="value" />
5+
<SomeComponent @arg=1 />
6+
<SomeComponent @arg=foo />
7+
<SomeComponent @arg={{this.foo}} @bar={{this.property}} />
8+
<SomeComponent @arg={{this.foo}} @bar={{fn this.myAction}} />
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<a></a>
2+
<br>
3+
<br />
4+
<foo />
5+
<foo></foo>
6+
<Foo />
7+
<Foo></Foo>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<a></a>
2+
<br>
3+
<br />
4+
<foo />
5+
<foo></foo>
6+
<Foo />
7+
<Foo></Foo>

0 commit comments

Comments
 (0)