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

Unified Diff: test/codegen/expect/sunflower/dom.js

Issue 1020043002: Replace dart_core.js with actual compiled SDK (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: merge Created 5 years, 9 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
« no previous file with comments | « test/codegen/expect/server_mode/html_input.html ('k') | test/codegen/expect/sunflower/sunflower.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/sunflower/dom.js
diff --git a/test/codegen/expect/sunflower/dom.js b/test/codegen/expect/sunflower/dom.js
index a450816370fb3f8a30ba6827cf321b0c5ab7fe70..ea7f264505db9bfe16a3cecd6f7b7c8eba2c78f5 100644
--- a/test/codegen/expect/sunflower/dom.js
+++ b/test/codegen/expect/sunflower/dom.js
@@ -3,7 +3,7 @@ var dom;
'use strict';
class JsName extends core.Object {
JsName(opt$) {
- let name = opt$.name === void 0 ? null : opt$.name;
+ let name = opt$ && 'name' in opt$ ? opt$.name : null;
this.name = name;
}
}
« no previous file with comments | « test/codegen/expect/server_mode/html_input.html ('k') | test/codegen/expect/sunflower/sunflower.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698