浏览代码

Lua: disable more _bind usage

Justin Donaldson 10 年之前
父节点
当前提交
51f2f69452
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      genlua.ml

+ 1 - 1
genlua.ml

@@ -1449,7 +1449,7 @@ let generate com =
 	List.iter chk_features ctx.inits;
 	List.iter (fun (_,_,e) -> chk_features e) ctx.statics;
 	if has_feature ctx "use._iterator" then begin
-		add_feature ctx "use._bind";
+		(* add_feature ctx "use._bind"; *)
 		print ctx "function _iterator(o) { if( o instanceof Array ) return function() { return HxOverrides.iter(o); }; return typeof(o.iterator) == 'function' ? _bind(o,o.iterator) : o.iterator; }";
 		newline ctx;
 	end;