mirror of
https://bitbucket.org/bellord13/kit.git
synced 2026-11-13 19:06:11 +03:00
fix
This commit is contained in:
+6
-3
@@ -55,8 +55,6 @@ kit.config = kit.config || {};
|
||||
};
|
||||
|
||||
/**
|
||||
* @param pluginId
|
||||
* @param {kitModuleTypeLoader|{}} config
|
||||
* @return {boolean}
|
||||
*/
|
||||
__proto.register = function (pluginId, config = {}) {
|
||||
@@ -489,6 +487,9 @@ kit.config = kit.config || {};
|
||||
return correct;
|
||||
};
|
||||
|
||||
/**
|
||||
* @memberOf kit
|
||||
*/
|
||||
__proto.exec = function (deps, callback, argArr = [], context = undefined) {
|
||||
|
||||
if(typeof deps === 'function') {
|
||||
@@ -573,7 +574,9 @@ kit.config = kit.config || {};
|
||||
return !skipPromise?promise:undefined;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @memberOf kit
|
||||
*/
|
||||
__proto.ready = function(deps, callback) {
|
||||
if(typeof deps === 'function') {
|
||||
callback = deps;
|
||||
|
||||
Reference in New Issue
Block a user