瀏覽代碼

fix for module caching

Nicolas Cannasse 13 年之前
父節點
當前提交
af0170bc15
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      std/haxe/web/Dispatch.hx

+ 1 - 0
std/haxe/web/Dispatch.hx

@@ -376,6 +376,7 @@ class Dispatch {
 		switch( Context.getType("haxe.web.Dispatch") ) {
 		case TInst(c, _):
 			var c = c.get();
+			c.meta.remove("getParams");
 			c.meta.add("getParams",[{ expr : EConst(CString(str)), pos : c.pos }],c.pos);
 		default:
 		}