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

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

Issue 10826146: Move noSuchMethod hook from UnknownElement to Element (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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 | « lib/dom/templates/html/impl/impl_Element.darttemplate ('k') | 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
deleted file mode 100644
index bf90047d785d096097b5f8b8a3ec9992000987b3..0000000000000000000000000000000000000000
--- a/lib/dom/templates/html/impl/impl_UnknownElement.darttemplate
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-// Temporary dispatch hook to support WebComponents.
-Function dynamicUnknownElementDispatcher;
-
-class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
-$!MEMBERS
-
- // Hooks to support custom WebComponents.
- var xtag;
-
-$if DARTIUM
- noSuchMethod(String name, List args) {
- if (dynamicUnknownElementDispatcher == null) {
- throw new NoSuchMethodException(this, name, args);
- } else {
- return dynamicUnknownElementDispatcher(this, name, args);
- }
- }
-$else
- // TODO(vsm): Implement noSuchMethod or similar for dart2js.
-$endif
-}
« no previous file with comments | « lib/dom/templates/html/impl/impl_Element.darttemplate ('k') | lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698