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

Unified Diff: test/codegen/expect/math/math.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/isolate/isolate.js ('k') | test/codegen/expect/methods/methods.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/math/math.js
diff --git a/test/codegen/expect/math/math.js b/test/codegen/expect/math/math.js
index 3c2ada9511144818396d1d80c5ded083ab1b69df..2c7a936bdc6a76e49e0e5122aff24291dac80e73 100644
--- a/test/codegen/expect/math/math.js
+++ b/test/codegen/expect/math/math.js
@@ -1,5 +1,5 @@
var math;
-(function(math) {
+(function(exports) {
'use strict';
let E = 2.718281828459045;
let LN10 = 2.302585092994046;
@@ -416,32 +416,32 @@ var math;
return dart.notNull(-dart.notNull(value)) * 0;
}
// Exports:
- math.E = E;
- math.LN10 = LN10;
- math.LN2 = LN2;
- math.LOG2E = LOG2E;
- math.LOG10E = LOG10E;
- math.PI = PI;
- math.SQRT1_2 = SQRT1_2;
- math.SQRT2 = SQRT2;
- math.min = min;
- math.max = max;
- math.atan2 = atan2;
- math.pow = pow;
- math.sin = sin;
- math.cos = cos;
- math.tan = tan;
- math.acos = acos;
- math.asin = asin;
- math.atan = atan;
- math.sqrt = sqrt;
- math.exp = exp;
- math.log = log;
- math.Point = Point;
- math.Point$ = Point$;
- math.Random = Random;
- math.Rectangle = Rectangle;
- math.Rectangle$ = Rectangle$;
- math.MutableRectangle = MutableRectangle;
- math.MutableRectangle$ = MutableRectangle$;
+ exports.E = E;
+ exports.LN10 = LN10;
+ exports.LN2 = LN2;
+ exports.LOG2E = LOG2E;
+ exports.LOG10E = LOG10E;
+ exports.PI = PI;
+ exports.SQRT1_2 = SQRT1_2;
+ exports.SQRT2 = SQRT2;
+ exports.min = min;
+ exports.max = max;
+ exports.atan2 = atan2;
+ exports.pow = pow;
+ exports.sin = sin;
+ exports.cos = cos;
+ exports.tan = tan;
+ exports.acos = acos;
+ exports.asin = asin;
+ exports.atan = atan;
+ exports.sqrt = sqrt;
+ exports.exp = exp;
+ exports.log = log;
+ exports.Point = Point;
+ exports.Point$ = Point$;
+ exports.Random = Random;
+ exports.Rectangle = Rectangle;
+ exports.Rectangle$ = Rectangle$;
+ exports.MutableRectangle = MutableRectangle;
+ exports.MutableRectangle$ = MutableRectangle$;
})(math || (math = {}));
« no previous file with comments | « test/codegen/expect/isolate/isolate.js ('k') | test/codegen/expect/methods/methods.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698