We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd6d5f0 commit 2dc853cCopy full SHA for 2dc853c
lib/templates.js
@@ -163,8 +163,9 @@ View.prototype.serialize = function() {
163
return null;
164
};
165
View.prototype._isComponent = function(context) {
166
- return this.componentFactory &&
167
- context.attributes && !context.attributes.extend;
+ if (!this.componentFactory) return false;
+ if (context.attributes && context.attributes.extend) return false;
168
+ return true;
169
170
View.prototype._initComponent = function(context) {
171
return (this._isComponent(context)) ?
0 commit comments