Nicolas Cannasse преди 19 години
родител
ревизия
2d9c07f203
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  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");