diff --git a/js-plugins/core/_scriptcraft.js b/js-plugins/core/_scriptcraft.js index 510ed0b..61e013a 100644 --- a/js-plugins/core/_scriptcraft.js +++ b/js-plugins/core/_scriptcraft.js @@ -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);