Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(290)

Unified Diff: tools/dom/templates/html/dart2js/impl_Console.darttemplate

Issue 23889005: Cleaning up a bunch of DOM generation tables (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 741c710c293ee8b13bfe9192dc8379a1e8db2463..3f6c4cd3119cf95ce5c306b27d322647fa4ebfc9 100644
--- a/tools/dom/templates/html/dart2js/impl_Console.darttemplate
+++ b/tools/dom/templates/html/dart2js/impl_Console.darttemplate
@@ -20,6 +20,10 @@ $(ANNOTATIONS)$(CLASS_MODIFIERS)class Console {
void assertCondition(bool condition, Object arg) => _isConsoleDefined ?
JS('void', 'console.assertCondition(#, #)', condition, arg) : null;
+ @DomName('Console.clear')
+ void clear(Object arg) => _isConsoleDefined ?
+ JS('void', 'console.clear(#)', arg) : null;
+
@DomName('Console.count')
void count(Object arg) => _isConsoleDefined ?
JS('void', 'console.count(#)', arg) : null;
@@ -72,6 +76,10 @@ $(ANNOTATIONS)$(CLASS_MODIFIERS)class Console {
void profileEnd(String title) => _isConsoleDefined ?
JS('void', 'console.profileEnd(#)', title) : null;
+ @DomName('Console.table')
+ void table(Object arg) => _isConsoleDefined ?
+ JS('void', 'console.table(#)', arg) : null;
+
@DomName('Console.time')
void time(String title) => _isConsoleDefined ?
JS('void', 'console.time(#)', title) : null;

Powered by Google App Engine
This is Rietveld 408576698