| Index: tools/dom/templates/html/dart2js/impl_Console.darttemplate
|
| diff --git a/tools/dom/templates/html/dart2js/impl_Console.darttemplate b/tools/dom/templates/html/dart2js/impl_Console.darttemplate
|
| index ceeb155d09563e67eb26fed0abb419ffec270aca..741c710c293ee8b13bfe9192dc8379a1e8db2463 100644
|
| --- a/tools/dom/templates/html/dart2js/impl_Console.darttemplate
|
| +++ b/tools/dom/templates/html/dart2js/impl_Console.darttemplate
|
| @@ -6,7 +6,9 @@ part of $LIBRARYNAME;
|
|
|
| $(ANNOTATIONS)$(CLASS_MODIFIERS)class Console {
|
|
|
| - static Console _safeConsole = new Console();
|
| + Console._safe() {}
|
| +
|
| + static Console _safeConsole = new Console._safe();
|
|
|
| bool get _isConsoleDefined => JS('bool', 'typeof console != "undefined"');
|
|
|
|
|