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

Unified Diff: lib/html/templates/html/dart2js/factoryprovider_CSSMatrix.darttemplate

Issue 11094082: Convert legacy 'native code' to JS-forms in dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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: lib/html/templates/html/dart2js/factoryprovider_CSSMatrix.darttemplate
diff --git a/lib/html/templates/html/dart2js/factoryprovider_CSSMatrix.darttemplate b/lib/html/templates/html/dart2js/factoryprovider_CSSMatrix.darttemplate
index 6abf326544596c851846e366d772c43e986f6708..261bd5c8606786f58b20cb9be22fd8543b88d86e 100644
--- a/lib/html/templates/html/dart2js/factoryprovider_CSSMatrix.darttemplate
+++ b/lib/html/templates/html/dart2js/factoryprovider_CSSMatrix.darttemplate
@@ -3,6 +3,6 @@
// BSD-style license that can be found in the LICENSE file.
class $FACTORYPROVIDER {
- static CSSMatrix createCSSMatrix([String cssValue = '']) native
- 'return new WebKitCSSMatrix(cssValue);';
+ static CSSMatrix createCSSMatrix([String cssValue = '']) =>
floitsch 2012/10/12 13:40:17 by convention we put "=>" into the next line.
sra1 2012/10/12 21:39:47 I disagree that this is the convention. In pkg, it
+ JS('CSSMatrix', 'new WebKitCSSMatrix(#)', cssValue);
}

Powered by Google App Engine
This is Rietveld 408576698