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

Unified Diff: tools/dom/scripts/htmldartgenerator.py

Issue 14400004: First try at removing ? from HTML. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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
Index: tools/dom/scripts/htmldartgenerator.py
diff --git a/tools/dom/scripts/htmldartgenerator.py b/tools/dom/scripts/htmldartgenerator.py
index 0c351873f3cdd59e14c57d85020532583974979f..801f3c00a1ce8e2d59478def5402bff9ddc68444 100644
--- a/tools/dom/scripts/htmldartgenerator.py
+++ b/tools/dom/scripts/htmldartgenerator.py
@@ -428,7 +428,7 @@ class HtmlDartGenerator(object):
for index, param_info in enumerate(constructor_info.param_infos):
if param_info.is_optional:
dispatcher_emitter.Emit(
- ' if (!?$OPT_PARAM_NAME) {\n'
+ ' if ($OPT_PARAM_NAME == null) {\n'
' return $FACTORY._create($FACTORY_PARAMS);\n'
' }\n',
OPT_PARAM_NAME=param_info.name,

Powered by Google App Engine
This is Rietveld 408576698