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

Unified Diff: lib/runtime/dart/math.js

Issue 1633003002: Add --modules=node support (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: regen sdk and expectations Created 4 years, 11 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: lib/runtime/dart/math.js
diff --git a/lib/runtime/dart/math.js b/lib/runtime/dart/math.js
index 02adc431061f78b16f7f56d8fc4552289b4ab3ef..e863864c114e70d6be2c8e1de0bf45e58c294523 100644
--- a/lib/runtime/dart/math.js
+++ b/lib/runtime/dart/math.js
@@ -88,7 +88,7 @@ dart_library.library('dart/math', null, /* Imports */[
});
return Point;
});
- let Point = Point$();
+ const Point = Point$();
class Random extends core.Object {
static new(seed) {
if (seed === void 0) seed = null;
@@ -173,7 +173,7 @@ dart_library.library('dart/math', null, /* Imports */[
});
return _RectangleBase;
});
- let _RectangleBase = _RectangleBase$();
+ const _RectangleBase = _RectangleBase$();
const Rectangle$ = dart.generic(function(T) {
class Rectangle extends _RectangleBase$(T) {
Rectangle(left, top, width, height) {
@@ -199,7 +199,7 @@ dart_library.library('dart/math', null, /* Imports */[
});
return Rectangle;
});
- let Rectangle = Rectangle$();
+ const Rectangle = Rectangle$();
const _width = Symbol('_width');
const _height = Symbol('_height');
const MutableRectangle$ = dart.generic(function(T) {
@@ -244,7 +244,7 @@ dart_library.library('dart/math', null, /* Imports */[
});
return MutableRectangle;
});
- let MutableRectangle = MutableRectangle$();
+ const MutableRectangle = MutableRectangle$();
function _clampToZero(value) {
dart.assert(dart.notNull(value) < 0);
return -dart.notNull(value) * 0;

Powered by Google App Engine
This is Rietveld 408576698