FIX: Mobile raw templates weren't being resolved
This commit is contained in:
parent
b601120b39
commit
fa3c45bb4c
|
@ -132,12 +132,6 @@ export function buildResolver(baseName) {
|
|||
},
|
||||
|
||||
resolveTemplate(parsedName) {
|
||||
let fullName = parsedName.fullNameWithoutType;
|
||||
if (fullName.indexOf('.raw') !== -1) {
|
||||
return Ember.TEMPLATES[fullName] ||
|
||||
Ember.TEMPLATES[fullName.replace(/\.raw$/, '')];
|
||||
}
|
||||
|
||||
return this.findPluginMobileTemplate(parsedName) ||
|
||||
this.findPluginTemplate(parsedName) ||
|
||||
this.findMobileTemplate(parsedName) ||
|
||||
|
@ -187,6 +181,7 @@ export function buildResolver(baseName) {
|
|||
return this._super(parsedName) ||
|
||||
templates[slashedType] ||
|
||||
templates[withoutType] ||
|
||||
templates[withoutType.replace(/\.raw$/, '')] ||
|
||||
templates[dashed] ||
|
||||
templates[decamelized.replace(/\./, '/')] ||
|
||||
templates[decamelized.replace(/\_/, '/')] ||
|
||||
|
|
Loading…
Reference in New Issue