This commit is contained in:
walterhiggins 2013-01-08 02:32:49 +00:00
parent 0916f85344
commit 5bf5714d60

View file

@ -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);