rework
This commit is contained in:
parent
0916f85344
commit
5bf5714d60
1 changed files with 1 additions and 1 deletions
|
@ -17,8 +17,8 @@ ScriptCraft.core = ScriptCraft.core || {};
|
|||
return file.getCanonicalPath().replaceAll("\\\\","/");
|
||||
};
|
||||
var _load = function(filename){
|
||||
print("loading " + filename);
|
||||
var file = new File(filename);
|
||||
print("loading " + _canonize(file));
|
||||
if (file.exists()){
|
||||
var parent = file.getParentFile();
|
||||
var reader = new FileReader(file);
|
||||
|
|
Reference in a new issue