| 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 25d08e109832ec4e1113e83bcdc1a82c1541d7fb..84527d2bc69146524b3b9a559b719fd5acfffd6c 100644
|
| --- a/tools/dom/templates/html/dart2js/impl_Console.darttemplate
|
| +++ b/tools/dom/templates/html/dart2js/impl_Console.darttemplate
|
| @@ -6,7 +6,7 @@ part of $LIBRARYNAME;
|
|
|
| $(ANNOTATIONS)class Console {
|
|
|
| - static Console safeConsole = new Console();
|
| + static Console _safeConsole = new Console();
|
|
|
| bool get _isConsoleDefined => JS('bool', 'typeof console != "undefined"');
|
|
|
| @@ -79,8 +79,8 @@ $(ANNOTATIONS)class Console {
|
| JS('void', 'console.time(#)', title) : null;
|
|
|
| @DomName('Console.timeEnd')
|
| - void timeEnd(String timerName) => _isConsoleDefined ?
|
| - JS('void', 'console.timeEnd(#)', timerName) : null;
|
| + void timeEnd(String title) => _isConsoleDefined ?
|
| + JS('void', 'console.timeEnd(#)', title) : null;
|
|
|
| @DomName('Console.timeStamp')
|
| void timeStamp(Object arg) => _isConsoleDefined ?
|
|
|