chanjs 1.0.26 → 1.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/core/chan.js +2 -2
  2. package/package.json +1 -1
package/core/chan.js CHANGED
@@ -121,10 +121,10 @@ class Chan {
121
121
  }
122
122
  //启动
123
123
  start(cb) {
124
+ //加载插件
125
+ this.loadPlugins();
124
126
  //加载模块
125
127
  this.loadModules();
126
- //加载插件
127
- this.loadPlugins();
128
128
  //加载通用路由
129
129
  this.loadCommonRouter();
130
130
  // 初始化一些配置
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chanjs",
3
- "version": "1.0.26",
3
+ "version": "1.0.27",
4
4
  "description": "chanjs基于express 纯js研发的轻量级mvc框架。",
5
5
  "main": "core/chan.js",
6
6
  "module": "core/chan.js",