diff --git a/src/core/inject.js b/src/core/inject.js index 13e9f9e4c..6cfa3abe1 100644 --- a/src/core/inject.js +++ b/src/core/inject.js @@ -89,16 +89,7 @@ configFunctions[type] = null; }); } - configFunctions[type].push({fn: configFn, args: opt}); - }; - - BI.Configs = BI.Configs || { - getConfigs: function () { - return configFunctions; - }, - getConfig: function (type) { - return configFunctions[type]; - }, + configFunctions[type].push(configFn); }; var actions = {};