mirror of
https://bitbucket.org/bellord13/kit.git
synced 2026-11-13 19:06:11 +03:00
fix
This commit is contained in:
+1
-1
@@ -282,7 +282,7 @@ window.kit = window.kit || {};
|
|||||||
}.bind(this), function(r){
|
}.bind(this), function(r){
|
||||||
console.error(r);
|
console.error(r);
|
||||||
});
|
});
|
||||||
} else if(configModule.module && configModule.type === 'loader') {
|
} else if(configModule.module && configModule.type === 'loader' && !(configModule.hasOwnProperty('loader') && typeof configModule.loader === 'function')) {
|
||||||
return loadScript(configModule.modulePath + configModule.module).then(function() {
|
return loadScript(configModule.modulePath + configModule.module).then(function() {
|
||||||
|
|
||||||
}.bind(this));
|
}.bind(this));
|
||||||
|
|||||||
Reference in New Issue
Block a user