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

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

Issue 1122133003: fixes #157, renaming local library identifiers if needed. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: rebase and format Created 5 years, 7 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 | « lib/runtime/dart/isolate.js ('k') | lib/runtime/dart/typed_data.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/math.js
diff --git a/lib/runtime/dart/math.js b/lib/runtime/dart/math.js
index 16abfaec7497520753be012e76dc80c88c9414a1..7b93333fc435148e14991c7f762945e06e8d63d3 100644
--- a/lib/runtime/dart/math.js
+++ b/lib/runtime/dart/math.js
@@ -1,5 +1,7 @@
-var math;
-(function(exports) {
+var math = dart.defineLibrary(math, {});
+var core = dart.import(core);
+var _js_helper = dart.lazyImport(_js_helper);
+(function(exports, core, _js_helper) {
'use strict';
class _JenkinsSmiHash extends core.Object {
static combine(hash, value) {
@@ -460,4 +462,4 @@ var math;
exports.sqrt = sqrt;
exports.exp = exp;
exports.log = log;
-})(math || (math = {}));
+})(math, core, _js_helper);
« no previous file with comments | « lib/runtime/dart/isolate.js ('k') | lib/runtime/dart/typed_data.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698