Nicolas Cannasse hace 19 años
padre
commit
2d9c07f203
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      std/Type.hx

+ 4 - 0
std/Type.hx

@@ -265,6 +265,10 @@ class Type {
 			a.remove("__interfaces__");
 			a.remove("__super__");
 			a.remove("__construct__");
+			#if js
+			a.remove("toString");
+			a.remove("prototype");
+			#end
 			#if neko
 			a.remove("prototype");
 			a.remove("new");