This commit is contained in:
2021-11-25 19:08:22 +03:00
parent 3cc76baf5c
commit 7c096e52d3
6 changed files with 29 additions and 16 deletions
+1
View File
@@ -474,6 +474,7 @@ window.kit.service = window.kit.service || {};
deps.forEach(function(pluginId, i, arr) {
var realPlugin = this.__getPlugin(pluginId);
if(realPlugin === undefined) {
console.warn(`Plugin "${pluginId}" not registered!`);
return false;
}
correct.push(realPlugin.id);
+1 -1
View File
@@ -225,7 +225,7 @@ __PluginManager__.registerPlugins({
module: '/loggerService.js',
css: '/loggerService.css',
type: 'loader',
deps: ['Logger', 'support']
deps: ['Logger', 'support', 'Collection']
},
fancybox: {
path: __pmConfig__.assetsPath + '/fancybox',