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

Unified Diff: lib/runtime/dart/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/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 364cc0b602830834cf8f5bec3eecef7dc29507e9..30e006252ebc54df53263e72137d974c1c528f6a 100644
--- a/lib/runtime/dart/typed_data.js
+++ b/lib/runtime/dart/typed_data.js
@@ -1,7 +1,8 @@
-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) {
+dart.library('dart/typed_data', null, /* Imports */[
+ 'dart/core'
+], /* Lazy imports */[
+ 'dart/_native_typed_data'
+], function(exports, core, _native_typed_data) {
'use strict';
class ByteBuffer extends core.Object {}
class TypedData extends core.Object {}
@@ -977,4 +978,4 @@ var _native_typed_data = dart.lazyImport(_native_typed_data);
exports.Float32x4 = Float32x4;
exports.Int32x4 = Int32x4;
exports.Float64x2 = Float64x2;
-})(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