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

Issue 9630001: Build both dart:html and dart:dom bindings by default (Closed)

Created:
8 years, 9 months ago by Jacob
Modified:
8 years, 9 months ago
Reviewers:
sra1
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Build both dart:html and dart:dom bindings by default BUG= TEST= Committed: https://code.google.com/p/dart/source/detail?r=5146

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -19 lines) Patch
M client/dom/scripts/dartdomgenerator.py View 1 2 chunks +19 lines, -19 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Jacob
Fixes http://code.google.com/p/dart/issues/detail?id=2046
8 years, 9 months ago (2012-03-08 00:42:23 UTC) #1
sra1
lgtm https://chromiumcodereview.appspot.com/9630001/diff/1/client/dom/scripts/dartdomgenerator.py File client/dom/scripts/dartdomgenerator.py (right): https://chromiumcodereview.appspot.com/9630001/diff/1/client/dom/scripts/dartdomgenerator.py#newcode180 client/dom/scripts/dartdomgenerator.py:180: dom_systems.append(system) OK, but could be: html_system_names = ['htmldartium', ...
8 years, 9 months ago (2012-03-08 00:51:33 UTC) #2
Jacob
8 years, 9 months ago (2012-03-08 00:54:19 UTC) #3
On 2012/03/08 00:51:33, sra1 wrote:
> lgtm
> 
>
https://chromiumcodereview.appspot.com/9630001/diff/1/client/dom/scripts/dart...
> File client/dom/scripts/dartdomgenerator.py (right):
> 
>
https://chromiumcodereview.appspot.com/9630001/diff/1/client/dom/scripts/dart...
> client/dom/scripts/dartdomgenerator.py:180: dom_systems.append(system)
> OK, but could be:
> 
> html_system_names = ['htmldartium', 'htmlfrog']
> html_systems = [s for s in systems if s in html_system_names]
> dom_systems = [s for s in systems if s not in html_system_names]

Done. that is the cleaner pythonic way of doing it.

Powered by Google App Engine
This is Rietveld 408576698