Browse Source

Lua: disable more _bind usage

Justin Donaldson 10 years ago
parent
commit
51f2f69452
1 changed files with 1 additions and 1 deletions
  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;