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

Unified Diff: lib/runtime/dart/_native_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/_native_typed_data.js
diff --git a/lib/runtime/dart/_native_typed_data.js b/lib/runtime/dart/_native_typed_data.js
index e4db8688b00fe111af1fc62176b30fc4a0c193f1..b3a0871b8700d0eaef522ec3d6ed0c93d0df1931 100644
--- a/lib/runtime/dart/_native_typed_data.js
+++ b/lib/runtime/dart/_native_typed_data.js
@@ -1,5 +1,12 @@
-var _native_typed_data;
-(function(exports) {
+var _native_typed_data = dart.defineLibrary(_native_typed_data, {});
+var core = dart.lazyImport(core);
+var typed_data = dart.import(typed_data);
+var collection = dart.lazyImport(collection);
+var _internal = dart.lazyImport(_internal);
+var _interceptors = dart.import(_interceptors);
+var _js_helper = dart.import(_js_helper);
+var math = dart.lazyImport(math);
+(function(exports, core, typed_data, collection, _internal, _interceptors, _js_helper, math) {
'use strict';
class NativeByteBuffer extends core.Object {
NativeByteBuffer() {
@@ -1555,4 +1562,4 @@ var _native_typed_data;
exports.NativeFloat32x4 = NativeFloat32x4;
exports.NativeInt32x4 = NativeInt32x4;
exports.NativeFloat64x2 = NativeFloat64x2;
-})(_native_typed_data || (_native_typed_data = {}));
+})(_native_typed_data, core, typed_data, collection, _internal, _interceptors, _js_helper, math);

Powered by Google App Engine
This is Rietveld 408576698