Quellcode durchsuchen

Lua: disable more _bind usage

Justin Donaldson vor 10 Jahren
Ursprung
Commit
51f2f69452
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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;