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

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

Issue 1145243013: Check for duplicate library names (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Rebase and cleanup Created 5 years, 6 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 b07e3687f4f3ae767f6924cb3840a80dc5492b48..5576946dfc81187baae4616253f55ba5a0a790bd 100644
--- a/lib/runtime/dart/_native_typed_data.js
+++ b/lib/runtime/dart/_native_typed_data.js
@@ -1,12 +1,13 @@
-var _native_typed_data = dart.defineLibrary(_native_typed_data, {});
-var core = dart.import(core);
-var typed_data = dart.import(typed_data);
-var collection = dart.import(collection);
-var _internal = dart.import(_internal);
-var _interceptors = dart.lazyImport(_interceptors);
-var _js_helper = dart.import(_js_helper);
-var math = dart.import(math);
-(function(exports, core, typed_data, collection, _internal, _interceptors, _js_helper, math) {
+dart.library('dart/_native_typed_data.js', null, /* Imports */[
+ 'dart/core.js',
+ 'dart/typed_data.js',
+ 'dart/collection.js',
+ 'dart/_internal.js',
+ 'dart/_js_helper.js',
+ 'dart/math.js'
+], /* Lazy imports */[
+ 'dart/_interceptors.js'
+], function(exports, core, typed_data, collection, _internal, _js_helper, math, _interceptors) {
'use strict';
class NativeByteBuffer extends core.Object {
NativeByteBuffer() {
@@ -1927,4 +1928,4 @@ var math = dart.import(math);
exports.NativeFloat32x4 = NativeFloat32x4;
exports.NativeInt32x4 = NativeInt32x4;
exports.NativeFloat64x2 = NativeFloat64x2;
-})(_native_typed_data, core, typed_data, collection, _internal, _interceptors, _js_helper, math);
+});

Powered by Google App Engine
This is Rietveld 408576698