瀏覽代碼

- fixed templo.Loader

Laurent Bedubourg 19 年之前
父節點
當前提交
1644d6f634
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      std/mtwin/templo/Loader.hx

+ 3 - 3
std/mtwin/templo/Loader.hx

@@ -98,10 +98,10 @@ class Loader {
 				var wrapCache = loader.cache;
 				loader.cache = __dollar__new(wrapCache);
 				var macro = function(path){
-					if (mtwin.Templo.OPTIMIZED == false){
-						mtwin.Templo.compileTemplate(new String(path));
+					if (mtwin.templo.Loader.OPTIMIZED == false){
+						mtwin.templo.Loader.compileTemplate(new String(path));
 					}
-					return loader.loadmodule(mtwin.Templo.tmpFileId(new String(path)).__s, loader);
+					return loader.loadmodule(mtwin.templo.Loader.tmpFileId(new String(path)).__s, loader);
 				}
 				var result = new String(code.template(macro, context));
 				loader.cache = wrapCache;