Index: pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart b/pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart |
index f625c8a04f0ab08680a9f8db7607b0a4cd40aa94..9aab2acf733eb9623b842f582c898fe4ba4f950c 100644 |
--- a/pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart |
+++ b/pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart |
@@ -328,8 +328,9 @@ class ClassEmitter extends CodeEmitterHelper { |
} |
if (!statics.isEmpty) { |
- classBuilder.addPropertyByName('static', |
- new jsAst.ObjectInitializer(statics)); |
+ classBuilder.addPropertyByName( |
+ 'static', |
+ new jsAst.ObjectInitializer(statics, isOneLiner: false)); |
} |
// TODO(ahe): This method (generateClass) should return a jsAst.Expression. |