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

Unified Diff: test/codegen/expect/cascade/cascade.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/async/async.js ('k') | test/codegen/expect/collection/collection.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/cascade/cascade.js
diff --git a/test/codegen/expect/cascade/cascade.js b/test/codegen/expect/cascade/cascade.js
index b2d7c4611326a16c05bbd314d5ca3ae5defc9cd4..4b7787e1548ca06d7e81e33363d59ed372398db1 100644
--- a/test/codegen/expect/cascade/cascade.js
+++ b/test/codegen/expect/cascade/cascade.js
@@ -1,5 +1,5 @@
var cascade;
-(function(cascade) {
+(function(exports) {
'use strict';
class A extends dart.Object {
A() {
@@ -72,12 +72,12 @@ var cascade;
core.print(a);
}
// Exports:
- cascade.A = A;
- cascade.test_closure_with_mutate = test_closure_with_mutate;
- cascade.test_closure_without_mutate = test_closure_without_mutate;
- cascade.test_mutate_inside_cascade = test_mutate_inside_cascade;
- cascade.test_mutate_outside_cascade = test_mutate_outside_cascade;
- cascade.test_VariableDeclaration_single = test_VariableDeclaration_single;
- cascade.test_VariableDeclaration_last = test_VariableDeclaration_last;
- cascade.test_VariableDeclaration_first = test_VariableDeclaration_first;
+ exports.A = A;
+ exports.test_closure_with_mutate = test_closure_with_mutate;
+ exports.test_closure_without_mutate = test_closure_without_mutate;
+ exports.test_mutate_inside_cascade = test_mutate_inside_cascade;
+ exports.test_mutate_outside_cascade = test_mutate_outside_cascade;
+ exports.test_VariableDeclaration_single = test_VariableDeclaration_single;
+ exports.test_VariableDeclaration_last = test_VariableDeclaration_last;
+ exports.test_VariableDeclaration_first = test_VariableDeclaration_first;
})(cascade || (cascade = {}));
« no previous file with comments | « test/codegen/expect/async/async.js ('k') | test/codegen/expect/collection/collection.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698