Index: tools/dom/scripts/htmldartgenerator.py |
diff --git a/tools/dom/scripts/htmldartgenerator.py b/tools/dom/scripts/htmldartgenerator.py |
index 89e3c3a7a283590744f89bd60a927482d0827755..4453fabb66e0fe1c88838f60016d92a0f2e38238 100644 |
--- a/tools/dom/scripts/htmldartgenerator.py |
+++ b/tools/dom/scripts/htmldartgenerator.py |
@@ -587,7 +587,7 @@ class HtmlDartGenerator(object): |
inits = self._members_emitter.Emit( |
'\n $(METADATA)' |
'factory $CONSTRUCTOR($PARAMS) {\n' |
- ' var e = $FACTORY.$CTOR_FACTORY_NAME($FACTORY_PARAMS);\n' |
+ ' $CONSTRUCTOR e = $FACTORY.$CTOR_FACTORY_NAME($FACTORY_PARAMS);\n' |
'$!INITS' |
' return e;\n' |
' }\n', |