feat: 全新架构 只保留一个Java类初始化

Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
2017-09-14 20:41:34 +08:00
parent 54f6f9999d
commit fdeb2619ff
38 changed files with 462 additions and 1874 deletions

View File

@ -0,0 +1,12 @@
var boot;
/**
* 初始化框架引擎
*/
(function () {
boot = function (plugin, engine) {
engine.put('root', plugin.getDataFolder());
engine.put('rootDir', plugin.getDataFolder().getCanonicalPath());
load(rootDir + '/modules/init.js');
init(plugin, engine);
}
})();