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

Issue 1013653004: Suppress generation of JsGlobal and JsType code and use window as the default value instead of {} f… (Closed)

Created:
5 years, 9 months ago by Jacob
Modified:
5 years, 9 months ago
CC:
dev-compiler+reviews_dartlang.org
Base URL:
git@github.com:dart-lang/dart-dev-compiler.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Suppress generation of JsGlobal and JsType code and use window as the default value instead of {} for libraries that define JsGlobal fields. BUG= R=jmesserly@google.com Committed: https://github.com/dart-lang/dev_compiler/commit/35f0d4142e46784cb956528f5847ec16589142a4

Patch Set 1 #

Total comments: 11

Patch Set 2 : ptal #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -77 lines) Patch
M lib/src/codegen/html_codegen.dart View 1 chunk +0 lines, -1 line 0 comments Download
M lib/src/codegen/js_codegen.dart View 1 4 chunks +28 lines, -2 lines 0 comments Download
M test/codegen/dom.dart View 1 4 chunks +16 lines, -18 lines 0 comments Download
M test/codegen/expect/dom.js View 1 2 chunks +4 lines, -54 lines 0 comments Download
M test/codegen/expect/html_input.html View 1 chunk +0 lines, -1 line 0 comments Download
M test/codegen/expect/server_mode/html_input.html View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 9 (2 generated)
Jacob
5 years, 9 months ago (2015-03-17 00:03:19 UTC) #2
Siggi Cherem (dart-lang)
https://codereview.chromium.org/1013653004/diff/1/lib/src/codegen/js_codegen.dart File lib/src/codegen/js_codegen.dart (right): https://codereview.chromium.org/1013653004/diff/1/lib/src/codegen/js_codegen.dart#newcode977 lib/src/codegen/js_codegen.dart:977: var result = <JS.Expression>[ DBC - you might need ...
5 years, 9 months ago (2015-03-17 01:25:36 UTC) #4
Jennifer Messerly
https://codereview.chromium.org/1013653004/diff/1/lib/src/codegen/js_codegen.dart File lib/src/codegen/js_codegen.dart (right): https://codereview.chromium.org/1013653004/diff/1/lib/src/codegen/js_codegen.dart#newcode53 lib/src/codegen/js_codegen.dart:53: bool _containsJsGlobals = false; should this be explicit on ...
5 years, 9 months ago (2015-03-17 16:39:19 UTC) #5
Jennifer Messerly
Another thought on dom.dart ... does the JsGlobal/JsType distinction matter? it seems that it can ...
5 years, 9 months ago (2015-03-17 16:41:38 UTC) #6
Jacob
https://codereview.chromium.org/1013653004/diff/1/lib/src/codegen/js_codegen.dart File lib/src/codegen/js_codegen.dart (right): https://codereview.chromium.org/1013653004/diff/1/lib/src/codegen/js_codegen.dart#newcode53 lib/src/codegen/js_codegen.dart:53: bool _containsJsGlobals = false; On 2015/03/17 16:39:18, John Messerly ...
5 years, 9 months ago (2015-03-17 21:22:44 UTC) #7
Jennifer Messerly
lgtm
5 years, 9 months ago (2015-03-17 21:30:38 UTC) #8
Jacob
5 years, 9 months ago (2015-03-17 21:42:46 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
35f0d4142e46784cb956528f5847ec16589142a4 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698