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

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: new approach 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
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..1e98da524335c718a72bf51797b0a304d9d1a4e7 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.lazyImport(core);
+var _native_typed_data = dart.import(_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);

Powered by Google App Engine
This is Rietveld 408576698