Index: client/dom/scripts/dartgenerator.py |
diff --git a/client/dom/scripts/dartgenerator.py b/client/dom/scripts/dartgenerator.py |
index c582fa27066de3c4668dd12bae82283fc5c25133..929d17d43c4ed74ab1972b12d6784e0c92732cc8 100755 |
--- a/client/dom/scripts/dartgenerator.py |
+++ b/client/dom/scripts/dartgenerator.py |
@@ -1871,7 +1871,7 @@ class FrogInterfaceGenerator(object): |
# The implementation is a singleton with no prototype. |
extends = '' |
else: |
- extends = ' extends DOMTypeJs' |
+ extends = ' extends _DOMTypeJs' |
# TODO: Include all implemented interfaces, including other Lists. |
implements = [interface_name] |
@@ -1905,7 +1905,7 @@ class FrogInterfaceGenerator(object): |
pass |
def _ImplClassName(self, type_name): |
- return type_name + 'Js' |
+ return '_' + type_name + 'Js' |
def _NarrowToImplementationType(self, type_name): |
# TODO(sra): Move into the 'system' and cache the result. |