diff --git a/src/core/js/adapt.js b/src/core/js/adapt.js index 7a4d20b6a..f4d118e6b 100644 --- a/src/core/js/adapt.js +++ b/src/core/js/adapt.js @@ -80,7 +80,7 @@ define(function(require){ // Store the component view if (Adapt.componentStore[name]) throw Error('This component already exists in your project'); - object.template = name; + if(!object.template) object.template = name; Adapt.componentStore[name] = object; }