Explorar el Código

- fixed templo.Loader

Laurent Bedubourg hace 19 años
padre
commit
1644d6f634
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  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;