yes
This commit is contained in:
@@ -131,7 +131,7 @@ public class Scripts implements Disposable{
|
|||||||
return loadSource(required, script, required.root.child("scripts"), validator);
|
return loadSource(required, script, required.root.child("scripts"), validator);
|
||||||
}
|
}
|
||||||
|
|
||||||
Fi module = root.child(moduleId + ".js");
|
Fi module = root.child(moduleId + ".js");
|
||||||
if(!module.exists() || module.isDirectory()) return null;
|
if(!module.exists() || module.isDirectory()) return null;
|
||||||
return new ModuleSource(
|
return new ModuleSource(
|
||||||
new InputStreamReader(new ByteArrayInputStream((fillWrapper(module)).getBytes())),
|
new InputStreamReader(new ByteArrayInputStream((fillWrapper(module)).getBytes())),
|
||||||
|
|||||||
Reference in New Issue
Block a user