Index: compiler/lib/implementation/bool.js |
=================================================================== |
--- compiler/lib/implementation/bool.js (revision 368) |
+++ compiler/lib/implementation/bool.js (working copy) |
@@ -2,15 +2,8 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
-/** |
- * Extend the Boolean prototype with members expected in dart. |
- * |
- * TODO(jimhug): Add verification to ! and truth tests |
- */ |
-Boolean.$instanceOf = function(obj) { |
- return typeof obj == 'boolean' || obj instanceof Boolean; |
-}; |
+ |
function native_BoolImplementation_EQ(other) { |
if (typeof other == 'boolean') { |
return this == other; |