Nicolas Cannasse 19 anni fa
parent
commit
2d9c07f203
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  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");