@@ -20,10 +20,11 @@ ember-no-implicit-this-codemod no-implicit-this path/of/files/ or/some**/*glob.j
2020* [ angle-brackets-without-params] ( #angle-brackets-without-params )
2121* [ built-in-helpers] ( #built-in-helpers )
2222* [ comments] ( #comments )
23- * [ dont-assume-this ] ( #dont-assume-this )
23+ * [ custom-helpers ] ( #custom-helpers )
2424* [ handlebars-with-block-params] ( #handlebars-with-block-params )
2525* [ handlebars-with-hash-params] ( #handlebars-with-hash-params )
2626* [ handlebars-with-positional-params] ( #handlebars-with-positional-params )
27+ * [ handlebars-with-wall-street-syntax] ( #handlebars-with-wall-street-syntax )
2728* [ handlebars-without-params] ( #handlebars-without-params )
2829* [ void-elements] ( #void-elements )
2930<!-- FIXTURES_TOC_END-->
@@ -75,6 +76,8 @@ ember-no-implicit-this-codemod no-implicit-this path/of/files/ or/some**/*glob.j
7576<SomeComponent @arg=1 />
7677<SomeComponent @arg=foo />
7778<SomeComponent @arg={{foo}} @bar={{property}} />
79+ <MyAddon$MyComponent @arg={{foo}} @bar={{property}} />
80+ <MyAddon$Namespace::MyComponent @arg={{foo}} @bar={{property}} />
7881<SomeComponent @arg={{foo}} @bar={{fn myAction}} />
7982<Select
8083 data-test-select
@@ -94,6 +97,8 @@ ember-no-implicit-this-codemod no-implicit-this path/of/files/ or/some**/*glob.j
9497<SomeComponent @arg=1 />
9598<SomeComponent @arg=foo />
9699<SomeComponent @arg={{this.foo}} @bar={{this.property}} />
100+ <MyAddon$MyComponent @arg={{this.foo}} @bar={{this.property}} />
101+ <MyAddon$Namespace::MyComponent @arg={{this.foo}} @bar={{this.property}} />
97102<SomeComponent @arg={{this.foo}} @bar={{fn this.myAction}} />
98103<Select
99104 data-test-select
@@ -204,18 +209,20 @@ ember-no-implicit-this-codemod no-implicit-this path/of/files/ or/some**/*glob.j
204209
205210```
206211---
207- <a id =" dont-assume-this " >** dont-assume-this ** </a >
212+ <a id =" custom-helpers " >** custom-helpers ** </a >
208213
209- ** Input** (<small >[ dont-assume-this .input.hbs] ( transforms/no-implicit-this/__testfixtures__/dont-assume-this .input.hbs ) </small >):
214+ ** Input** (<small >[ custom-helpers .input.hbs] ( transforms/no-implicit-this/__testfixtures__/custom-helpers .input.hbs ) </small >):
210215``` hbs
211- {{foo}}
212- {{bar}}
216+ {{biz}}
217+ {{bang}}
218+
213219```
214220
215- ** Output** (<small >[ dont-assume-this .output.hbs] ( transforms/no-implicit-this/__testfixtures__/dont-assume-this .output.hbs ) </small >):
221+ ** Output** (<small >[ custom-helpers .output.hbs] ( transforms/no-implicit-this/__testfixtures__/custom-helpers .output.hbs ) </small >):
216222``` hbs
217- {{this.foo}}
218- {{bar}}
223+ {{biz}}
224+ {{bang}}
225+
219226```
220227---
221228<a id =" handlebars-with-block-params " >** handlebars-with-block-params** </a >
@@ -319,6 +326,30 @@ ember-no-implicit-this-codemod no-implicit-this path/of/files/ or/some**/*glob.j
319326{{my-component (my-helper 1)}}
320327{{get this 'key'}}
321328
329+ ```
330+ ---
331+ <a id =" handlebars-with-wall-street-syntax " >** handlebars-with-wall-street-syntax** </a >
332+
333+ ** Input** (<small >[ handlebars-with-wall-street-syntax.input.hbs] ( transforms/no-implicit-this/__testfixtures__/handlebars-with-wall-street-syntax.input.hbs ) </small >):
334+ ``` hbs
335+ {{my-addon$my-component foo}}
336+ {{my-addon$namespace::my-component @foo}}
337+ {{my-addon$namespace::my-component property}}
338+ {{my-addon$my-component (my-helper property)}}
339+ {{my-addon$my-component (my-helper "string")}}
340+ {{my-addon$namespace::my-component (my-helper 1)}}
341+
342+ ```
343+
344+ ** Output** (<small >[ handlebars-with-wall-street-syntax.output.hbs] ( transforms/no-implicit-this/__testfixtures__/handlebars-with-wall-street-syntax.output.hbs ) </small >):
345+ ``` hbs
346+ {{my-addon$my-component this.foo}}
347+ {{my-addon$namespace::my-component @foo}}
348+ {{my-addon$namespace::my-component this.property}}
349+ {{my-addon$my-component (my-helper this.property)}}
350+ {{my-addon$my-component (my-helper "string")}}
351+ {{my-addon$namespace::my-component (my-helper 1)}}
352+
322353```
323354---
324355<a id =" handlebars-without-params " >** handlebars-without-params** </a >
@@ -338,7 +369,7 @@ ember-no-implicit-this-codemod no-implicit-this path/of/files/ or/some**/*glob.j
338369``` hbs
339370{{my-component}}
340371{{a-helper}}
341- {{this. foo}}
372+ {{foo}}
342373{{this.property}}
343374{{namespace/foo}}
344375{{this.someGetter}}
0 commit comments