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

Unified Diff: lib/dom/templates/html/impl/impl_UnknownElement.darttemplate

Issue 10843022: Partially rollback noSuchMethod for UnknownElement until we figure out code size issue (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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
« no previous file with comments | « no previous file | lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/templates/html/impl/impl_UnknownElement.darttemplate
diff --git a/lib/dom/templates/html/impl/impl_UnknownElement.darttemplate b/lib/dom/templates/html/impl/impl_UnknownElement.darttemplate
index 0a4a898ddd7443e14a6d792761e687a558af0a82..bf90047d785d096097b5f8b8a3ec9992000987b3 100644
--- a/lib/dom/templates/html/impl/impl_UnknownElement.darttemplate
+++ b/lib/dom/templates/html/impl/impl_UnknownElement.darttemplate
@@ -11,6 +11,7 @@ $!MEMBERS
// Hooks to support custom WebComponents.
var xtag;
+$if DARTIUM
noSuchMethod(String name, List args) {
if (dynamicUnknownElementDispatcher == null) {
throw new NoSuchMethodException(this, name, args);
@@ -18,4 +19,7 @@ $!MEMBERS
return dynamicUnknownElementDispatcher(this, name, args);
}
}
+$else
+ // TODO(vsm): Implement noSuchMethod or similar for dart2js.
+$endif
}
« no previous file with comments | « no previous file | lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698