[Build] Add compatibility with text plugin

Allow templates to be loaded via the text plugin, which
in turn will allow these to be built into the final JS
artifact.
This commit is contained in:
Victor Woeltjen
2016-01-28 11:41:14 -08:00
parent 967f8c9151
commit e0fbaa83b0
6 changed files with 32 additions and 24 deletions

View File

@ -74,7 +74,7 @@ define(
var key = template.key;
// First found should win (priority ordering)
templateMap[key] =
templateMap[key] || templateLinker.getPath(template);
templateMap[key] || template;
});
return {