| OLD | NEW |
| 1 var math; | 1 var math; |
| 2 (function(exports) { | 2 (function(exports) { |
| 3 'use strict'; | 3 'use strict'; |
| 4 class _JenkinsSmiHash extends core.Object { | 4 class _JenkinsSmiHash extends core.Object { |
| 5 static combine(hash, value) { | 5 static combine(hash, value) { |
| 6 hash = 536870911 & dart.notNull(hash) + dart.notNull(value); | 6 hash = 536870911 & dart.notNull(hash) + dart.notNull(value); |
| 7 hash = 536870911 & dart.notNull(hash) + ((524287 & dart.notNull(hash)) <<
10); | 7 hash = 536870911 & dart.notNull(hash) + ((524287 & dart.notNull(hash)) <<
10); |
| 8 return dart.notNull(hash) ^ dart.notNull(hash) >> 6; | 8 return dart.notNull(hash) ^ dart.notNull(hash) >> 6; |
| 9 } | 9 } |
| 10 static finish(hash) { | 10 static finish(hash) { |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 return dart.as(dart.notNull(dx) * dart.notNull(dx) + dart.notNull(dy) *
dart.notNull(dy), T); | 59 return dart.as(dart.notNull(dx) * dart.notNull(dx) + dart.notNull(dy) *
dart.notNull(dy), T); |
| 60 } | 60 } |
| 61 } | 61 } |
| 62 return Point; | 62 return Point; |
| 63 }); | 63 }); |
| 64 let Point = Point$(); | 64 let Point = Point$(); |
| 65 class Random extends core.Object { | 65 class Random extends core.Object { |
| 66 Random(seed) { | 66 Random(seed) { |
| 67 if (seed === void 0) | 67 if (seed === void 0) |
| 68 seed = null; | 68 seed = null; |
| 69 return seed == null ? new _JSRandom() : new _Random(seed); | 69 return seed == null ? dart.const(new _JSRandom()) : new _Random(seed); |
| 70 } | 70 } |
| 71 } | 71 } |
| 72 let _RectangleBase$ = dart.generic(function(T) { | 72 let _RectangleBase$ = dart.generic(function(T) { |
| 73 class _RectangleBase extends core.Object { | 73 class _RectangleBase extends core.Object { |
| 74 _RectangleBase() { | 74 _RectangleBase() { |
| 75 } | 75 } |
| 76 get right() { | 76 get right() { |
| 77 return dart.as(this.left['+'](this.width), T); | 77 return dart.as(this.left['+'](this.width), T); |
| 78 } | 78 } |
| 79 get bottom() { | 79 get bottom() { |
| (...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 449 exports.sin = sin; | 449 exports.sin = sin; |
| 450 exports.cos = cos; | 450 exports.cos = cos; |
| 451 exports.tan = tan; | 451 exports.tan = tan; |
| 452 exports.acos = acos; | 452 exports.acos = acos; |
| 453 exports.asin = asin; | 453 exports.asin = asin; |
| 454 exports.atan = atan; | 454 exports.atan = atan; |
| 455 exports.sqrt = sqrt; | 455 exports.sqrt = sqrt; |
| 456 exports.exp = exp; | 456 exports.exp = exp; |
| 457 exports.log = log; | 457 exports.log = log; |
| 458 })(math || (math = {})); | 458 })(math || (math = {})); |
| OLD | NEW |