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

Unified Diff: lib/runtime/dart/typed_data.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/math.js ('k') | lib/runtime/dart_runtime.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/typed_data.js
diff --git a/lib/runtime/dart/typed_data.js b/lib/runtime/dart/typed_data.js
index 5f1767b8ce1413b2ebf803eeb36b9c548b87aedc..7294ab1497dfe6db6a6adbaac314bf97b5eac79b 100644
--- a/lib/runtime/dart/typed_data.js
+++ b/lib/runtime/dart/typed_data.js
@@ -1,5 +1,7 @@
-var typed_data;
-(function(exports) {
+var typed_data = dart.defineLibrary(typed_data, {});
+var core = dart.import(core);
+var _native_typed_data = dart.lazyImport(_native_typed_data);
+(function(exports, core, _native_typed_data) {
'use strict';
class ByteBuffer extends core.Object {}
class TypedData extends core.Object {}
@@ -882,4 +884,4 @@ var typed_data;
exports.Float32x4 = Float32x4;
exports.Int32x4 = Int32x4;
exports.Float64x2 = Float64x2;
-})(typed_data || (typed_data = {}));
+})(typed_data, core, _native_typed_data);
« no previous file with comments | « lib/runtime/dart/math.js ('k') | lib/runtime/dart_runtime.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698