Index: sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart b/sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart |
index 7b92fcd3607e3f016f67936970dbe20fc6401ec6..7f6148394ca5609830898e80d7f6171693fc8822 100644 |
--- a/sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart |
+++ b/sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart |
@@ -105,7 +105,7 @@ function(cls, desc) { |
} |
var hasOwnProperty = Object.prototype.hasOwnProperty; |
for (var method in desc) { |
- if (method !== '') { |
+ if (method != '') { |
Lasse Reichstein Nielsen
2012/11/12 13:10:41
.isEmpty.
floitsch
2012/11/12 22:18:43
Actually inside a string (thus JavaScript code). R
|
if (hasOwnProperty.call(desc, method)) { |
$dynamicName(method)[cls] = desc[method]; |
} |