Permalink
Browse files

fix: 修复自定义JsonLoader子类与老版本nutz的兼容性

  • Loading branch information...
1 parent 381a7a6 commit 0e656216df0d74c4f0543d657476c27252f59c99 @wendal wendal committed Jan 6, 2017
@@ -12,6 +12,7 @@
public class ActivitiIocLoader extends JsonLoader {
public ActivitiIocLoader() {
+ super(new String[]{});
_load("activiti-engine.js", "conf");
_load("activiti-service.js", "conf");
}
@@ -18,10 +18,12 @@
public class QuartzIocLoader extends JsonLoader {
public QuartzIocLoader() {
+ super(new String[]{});
_load("quartz.js", "conf");
}
public QuartzIocLoader(String... args) {
+ super(new String[]{});
String confName = args.length > 0 ? args[0] : "conf";
_load("quartz.js", confName);
}
@@ -25,6 +25,7 @@
public ZbusIocLoader(){}
public ZbusIocLoader(String... pkgs) {
+ super(new String[]{});
for (String pkg : pkgs) {
add(pkg);
}

0 comments on commit 0e65621

Please sign in to comment.