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");