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

Unified Diff: test/codegen/expect/_js_primitives/_js_primitives.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
Index: test/codegen/expect/_js_primitives/_js_primitives.js
diff --git a/test/codegen/expect/_js_primitives/_js_primitives.js b/test/codegen/expect/_js_primitives/_js_primitives.js
index af32b2f09ce66623d1c5fa895eb1308c539053fd..f286fc6ed9eaac439112c6182faf6f9dd82f374a 100644
--- a/test/codegen/expect/_js_primitives/_js_primitives.js
+++ b/test/codegen/expect/_js_primitives/_js_primitives.js
@@ -1,5 +1,5 @@
var _js_primitives;
-(function(_js_primitives) {
+(function(exports) {
'use strict';
// Function printString: (String) → void
function printString(string) {
@@ -21,5 +21,5 @@ var _js_primitives;
throw "Unable to print message: " + String(string);
}
// Exports:
- _js_primitives.printString = printString;
+ exports.printString = printString;
})(_js_primitives || (_js_primitives = {}));
« no previous file with comments | « test/codegen/expect/_js_names/_js_names.js ('k') | test/codegen/expect/_native_typed_data/_native_typed_data.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698