@@ -219,7 +219,7 @@ if (ENV._DEBUG_RENDER_TREE) {
219
219
)
220
220
) ;
221
221
this . register (
222
- 'component:components/ inspect-model' ,
222
+ 'component:inspect-model' ,
223
223
setComponentTemplate (
224
224
compileTemplate ( '{{@model}}' , {
225
225
moduleName : 'foo/components/inspect-model.hbs' ,
@@ -260,7 +260,7 @@ if (ENV._DEBUG_RENDER_TREE) {
260
260
)
261
261
) ;
262
262
this . register (
263
- 'component:components/ inspect-model' ,
263
+ 'component:inspect-model' ,
264
264
setComponentTemplate (
265
265
compileTemplate ( '{{@model}}' , {
266
266
moduleName : 'bar/components/inspect-model.hbs' ,
@@ -629,10 +629,13 @@ if (ENV._DEBUG_RENDER_TREE) {
629
629
} )
630
630
) ;
631
631
this . register (
632
- 'template:components/hello' ,
633
- compileTemplate ( '<span>Hello {{@message}}</span>' , {
634
- moduleName : 'foo/components/hello.hbs' ,
635
- } )
632
+ 'component:hello' ,
633
+ setComponentTemplate (
634
+ compileTemplate ( '<span>Hello {{@message}}</span>' , {
635
+ moduleName : 'foo/components/hello.hbs' ,
636
+ } ) ,
637
+ templateOnlyComponent ( )
638
+ )
636
639
) ;
637
640
}
638
641
@@ -963,7 +966,7 @@ if (ENV._DEBUG_RENDER_TREE) {
963
966
this . addComponent ( 'hello-world' , {
964
967
ComponentClass : setComponentTemplate (
965
968
compileTemplate ( '{{@name}}' , { moduleName : 'my-app/components/hello-world.hbs' } ) ,
966
- templateOnlyComponent ( )
969
+ templateOnlyComponent ( 'my-app/components/hello-world' , 'HelloWorld' )
967
970
) ,
968
971
} ) ;
969
972
@@ -1048,7 +1051,7 @@ if (ENV._DEBUG_RENDER_TREE) {
1048
1051
name : 'hello-world' ,
1049
1052
args : { positional : [ ] , named : { name : 'first' } } ,
1050
1053
instance : ( instance : Record < string , string > ) => instance [ 'name' ] === 'first' ,
1051
- template : 'my-app/templates/components/hello-world.hbs ' ,
1054
+ template : '(unknown template module) ' ,
1052
1055
bounds : this . nodeBounds ( this . element ! . firstChild ) ,
1053
1056
children : [ ] ,
1054
1057
} ,
@@ -1064,7 +1067,7 @@ if (ENV._DEBUG_RENDER_TREE) {
1064
1067
name : 'hello-world' ,
1065
1068
args : { positional : [ ] , named : { name : 'first' } } ,
1066
1069
instance : ( instance : Record < string , string > ) => instance [ 'name' ] === 'first' ,
1067
- template : 'my-app/templates/components/hello-world.hbs ' ,
1070
+ template : '(unknown template module) ' ,
1068
1071
bounds : this . nodeBounds ( this . element ! . firstChild ) ,
1069
1072
children : [ ] ,
1070
1073
} ,
@@ -1073,7 +1076,7 @@ if (ENV._DEBUG_RENDER_TREE) {
1073
1076
name : 'hello-world' ,
1074
1077
args : { positional : [ ] , named : { name : 'second' } } ,
1075
1078
instance : ( instance : Record < string , string > ) => instance [ 'name' ] === 'second' ,
1076
- template : 'my-app/templates/components/hello-world.hbs ' ,
1079
+ template : '(unknown template module) ' ,
1077
1080
bounds : this . nodeBounds ( this . element ! . lastChild ) ,
1078
1081
children : [ ] ,
1079
1082
} ,
@@ -1089,7 +1092,7 @@ if (ENV._DEBUG_RENDER_TREE) {
1089
1092
name : 'hello-world' ,
1090
1093
args : { positional : [ ] , named : { name : 'first' } } ,
1091
1094
instance : ( instance : Record < string , string > ) => instance [ 'name' ] === 'first' ,
1092
- template : 'my-app/templates/components/hello-world.hbs ' ,
1095
+ template : '(unknown template module) ' ,
1093
1096
bounds : this . nodeBounds ( this . element ! . firstChild ) ,
1094
1097
children : [ ] ,
1095
1098
} ,
@@ -1133,7 +1136,7 @@ if (ENV._DEBUG_RENDER_TREE) {
1133
1136
name : 'hello-world' ,
1134
1137
args : { positional : [ ] , named : { name : 'first' } } ,
1135
1138
instance : ( instance : Record < string , string > ) => instance [ 'name' ] === 'first' ,
1136
- template : 'my-app/templates/components/hello-world.hbs ' ,
1139
+ template : '(unknown template module) ' ,
1137
1140
bounds : this . nodeBounds ( this . element ! . firstChild ) ,
1138
1141
children : [ ] ,
1139
1142
} ,
@@ -1149,7 +1152,7 @@ if (ENV._DEBUG_RENDER_TREE) {
1149
1152
name : 'hello-world' ,
1150
1153
args : { positional : [ ] , named : { name : 'first' } } ,
1151
1154
instance : ( instance : Record < string , string > ) => instance [ 'name' ] === 'first' ,
1152
- template : 'my-app/templates/components/hello-world.hbs ' ,
1155
+ template : '(unknown template module) ' ,
1153
1156
bounds : this . nodeBounds ( this . element ! . firstChild ) ,
1154
1157
children : [ ] ,
1155
1158
} ,
@@ -1158,7 +1161,7 @@ if (ENV._DEBUG_RENDER_TREE) {
1158
1161
name : 'hello-world' ,
1159
1162
args : { positional : [ ] , named : { name : 'second' } } ,
1160
1163
instance : ( instance : Record < string , string > ) => instance [ 'name' ] === 'second' ,
1161
- template : 'my-app/templates/components/hello-world.hbs ' ,
1164
+ template : '(unknown template module) ' ,
1162
1165
bounds : this . nodeBounds ( this . element ! . lastChild ) ,
1163
1166
children : [ ] ,
1164
1167
} ,
@@ -1174,7 +1177,7 @@ if (ENV._DEBUG_RENDER_TREE) {
1174
1177
name : 'hello-world' ,
1175
1178
args : { positional : [ ] , named : { name : 'first' } } ,
1176
1179
instance : ( instance : Record < string , string > ) => instance [ 'name' ] === 'first' ,
1177
- template : 'my-app/templates/components/hello-world.hbs ' ,
1180
+ template : '(unknown template module) ' ,
1178
1181
bounds : this . nodeBounds ( this . element ! . firstChild ) ,
1179
1182
children : [ ] ,
1180
1183
} ,
0 commit comments