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

Unified Diff: test/codegen/expect/html_input_a/html_input_a.js

Issue 967713002: fixes #69, avoid module name inside module scope (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 10 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/fieldtest/fieldtest.js ('k') | test/codegen/expect/html_input_b/html_input_b.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/html_input_a/html_input_a.js
diff --git a/test/codegen/expect/html_input_a/html_input_a.js b/test/codegen/expect/html_input_a/html_input_a.js
index 79b9ac49b9fcd752402f4ffc12bcdd61f26dafa3..2e28a78b3e94ffa237313acec87f9d648586e413 100644
--- a/test/codegen/expect/html_input_a/html_input_a.js
+++ b/test/codegen/expect/html_input_a/html_input_a.js
@@ -1,5 +1,5 @@
var html_input_a;
-(function(html_input_a) {
+(function(exports) {
'use strict';
// Function main: () → dynamic
function main() {
@@ -7,5 +7,5 @@ var html_input_a;
core.print(` ... ${html_input_d.fib(html_input_b.x + html_input_c.y)}`);
}
// Exports:
- html_input_a.main = main;
+ exports.main = main;
})(html_input_a || (html_input_a = {}));
« no previous file with comments | « test/codegen/expect/fieldtest/fieldtest.js ('k') | test/codegen/expect/html_input_b/html_input_b.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698