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

Unified Diff: lib/dom/scripts/generator.py

Issue 10825438: Remove old feature for generating canned native bodies. (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/dart2js/dom_dart2js.dart ('k') | lib/dom/scripts/systemdart2js.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/scripts/generator.py
diff --git a/lib/dom/scripts/generator.py b/lib/dom/scripts/generator.py
index aadb69b6392a5277e1513abe27b29499bec5c2ba..14e2b8ea61c1c1d62ffd285d4de0e98ddfff6f03 100644
--- a/lib/dom/scripts/generator.py
+++ b/lib/dom/scripts/generator.py
@@ -67,23 +67,6 @@ _dart2js_dom_custom_native_specs = {
'DOMWindow': '@*DOMWindow',
}
-#
-# Custom native bodies for dart2js implementations of dom operations that
-# appear in dart:dom_deprecated and dart:html. This is used to
-# work-around the lack of a 'rename' feature in the 'native' string -
-# the correct name is available on the DartName extended
-# attribute. See Issue 1814
-#
-dom_dart2js_native_bodies = {
- # Some JavaScript processors, especially tools like yuicompress and
- # JSCompiler, choke on 'this.continue'
- 'IDBCursor.continueFunction':
- """
- if (key == null) return this['continue']();
- return this['continue'](key);
- """,
-}
-
def IsRegisteredType(type_name):
return type_name in _idl_type_registry
« no previous file with comments | « lib/dom/dart2js/dom_dart2js.dart ('k') | lib/dom/scripts/systemdart2js.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698