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

Unified Diff: test/codegen/expect/html_input_d/html_input_d.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/html_input_c/html_input_c.js ('k') | test/codegen/expect/html_input_e/html_input_e.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/html_input_d/html_input_d.js
diff --git a/test/codegen/expect/html_input_d/html_input_d.js b/test/codegen/expect/html_input_d/html_input_d.js
index de39c173758000015604e0dc85ec73d26ce6d4b2..1f4823acb3d92f8979843f39bfe3cec4695158b9 100644
--- a/test/codegen/expect/html_input_d/html_input_d.js
+++ b/test/codegen/expect/html_input_d/html_input_d.js
@@ -1,5 +1,5 @@
var html_input_d;
-(function(html_input_d) {
+(function(exports) {
'use strict';
// Function fib: (int) → int
function fib(n) {
@@ -15,5 +15,5 @@ var html_input_d;
return seen.get(n);
}
// Exports:
- html_input_d.fib = fib;
+ exports.fib = fib;
})(html_input_d || (html_input_d = {}));
« no previous file with comments | « test/codegen/expect/html_input_c/html_input_c.js ('k') | test/codegen/expect/html_input_e/html_input_e.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698