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

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: Address comments 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
« no previous file with comments | « lib/runtime/dart/_js_primitives.js ('k') | lib/runtime/dart/async.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..298b5bd584315e886c4add0568ae62220a8a15ca 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', null, /* Imports */[
+ 'dart/core',
+ 'dart/typed_data',
+ 'dart/collection',
+ 'dart/_internal',
+ 'dart/_js_helper',
+ 'dart/math'
+], /* Lazy imports */[
+ 'dart/_interceptors'
+], 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);
+});
« no previous file with comments | « lib/runtime/dart/_js_primitives.js ('k') | lib/runtime/dart/async.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698