Browse Source

fixed deleteField.

Nicolas Cannasse 19 years ago
parent
commit
7b2fea3e03
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/Reflect.hx

+ 1 - 1
std/Reflect.hx

@@ -375,7 +375,7 @@ class Reflect {
 		#else js
 			untyped {
 				if( !hasField(o,f) ) return false;
-				untyped delete(o[f]);
+				__js__("delete")(o[f]);
 				return true;
 			}
 		#else neko