Update 0BDFDB.plugin.js
This commit is contained in:
parent
faf7dca466
commit
49754b045a
|
@ -15,8 +15,6 @@
|
||||||
module.exports = (_ => {
|
module.exports = (_ => {
|
||||||
if (window.BDFDB_Global && window.BDFDB_Global.PluginUtils && typeof window.BDFDB_Global.PluginUtils.cleanUp == "function") window.BDFDB_Global.PluginUtils.cleanUp(window.BDFDB_Global);
|
if (window.BDFDB_Global && window.BDFDB_Global.PluginUtils && typeof window.BDFDB_Global.PluginUtils.cleanUp == "function") window.BDFDB_Global.PluginUtils.cleanUp(window.BDFDB_Global);
|
||||||
|
|
||||||
window.BDFDB_Global = Object.assign({}, window.BDFDB_Global);
|
|
||||||
|
|
||||||
const BDFDB = {
|
const BDFDB = {
|
||||||
started: true
|
started: true
|
||||||
};
|
};
|
||||||
|
@ -965,6 +963,15 @@ module.exports = (_ => {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
window.BDFDB_Global = Object.assign({
|
||||||
|
started: true,
|
||||||
|
loading: true,
|
||||||
|
PluginUtils: {
|
||||||
|
buildPlugin: BDFDB.PluginUtils.buildPlugin,
|
||||||
|
cleanUp: BDFDB.PluginUtils.cleanUp
|
||||||
|
}
|
||||||
|
}, window.BDFDB_Global);
|
||||||
|
|
||||||
const request = require("request"), fs = require("fs"), path = require("path");
|
const request = require("request"), fs = require("fs"), path = require("path");
|
||||||
|
|
||||||
Internal.writeConfig = function (plugin, path, config) {
|
Internal.writeConfig = function (plugin, path, config) {
|
||||||
|
|
Loading…
Reference in New Issue