Chromium Code Reviews

Unified Diff: test/codegen/expect/methods/methods.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.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « test/codegen/expect/math/math.js ('k') | test/codegen/expect/sunflower/sunflower.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/methods/methods.js
diff --git a/test/codegen/expect/methods/methods.js b/test/codegen/expect/methods/methods.js
index 436bc92b2e7c9b27c37b0cd38d18582e65164192..a1a7f3d8e50df96956a13bf538aefe34cb4e1a63 100644
--- a/test/codegen/expect/methods/methods.js
+++ b/test/codegen/expect/methods/methods.js
@@ -1,5 +1,5 @@
var methods;
-(function(methods) {
+(function(exports) {
'use strict';
class A extends dart.Object {
A() {
@@ -56,8 +56,8 @@ var methods;
dart.dinvoke(f, 'bar', "Bar's call method!");
}
// Exports:
- methods.A = A;
- methods.Bar = Bar;
- methods.Foo = Foo;
- methods.test = test;
+ exports.A = A;
+ exports.Bar = Bar;
+ exports.Foo = Foo;
+ exports.test = test;
})(methods || (methods = {}));
« no previous file with comments | « test/codegen/expect/math/math.js ('k') | test/codegen/expect/sunflower/sunflower.js » ('j') | no next file with comments »

Powered by Google App Engine