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

Unified Diff: test/codegen/expect/BenchmarkBase/BenchmarkBase.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 | « lib/src/codegen/js_codegen.dart ('k') | test/codegen/expect/DeltaBlue/DeltaBlue.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/BenchmarkBase/BenchmarkBase.js
diff --git a/test/codegen/expect/BenchmarkBase/BenchmarkBase.js b/test/codegen/expect/BenchmarkBase/BenchmarkBase.js
index 462a7fc35ad8a7d421b8c648abb80a309d809b70..c579822eefebb15b2a6aef46d62b1ee60af1fa09 100644
--- a/test/codegen/expect/BenchmarkBase/BenchmarkBase.js
+++ b/test/codegen/expect/BenchmarkBase/BenchmarkBase.js
@@ -1,5 +1,5 @@
var BenchmarkBase;
-(function(BenchmarkBase) {
+(function(exports) {
'use strict';
class Expect extends dart.Object {
static equals(expected, actual) {
@@ -64,6 +64,6 @@ var BenchmarkBase;
}
}
// Exports:
- BenchmarkBase.Expect = Expect;
- BenchmarkBase.BenchmarkBase = BenchmarkBase;
+ exports.Expect = Expect;
+ exports.BenchmarkBase = BenchmarkBase;
})(BenchmarkBase || (BenchmarkBase = {}));
« no previous file with comments | « lib/src/codegen/js_codegen.dart ('k') | test/codegen/expect/DeltaBlue/DeltaBlue.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698