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

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: 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/typed_data.js
diff --git a/lib/runtime/dart/typed_data.js b/lib/runtime/dart/typed_data.js
index 364cc0b602830834cf8f5bec3eecef7dc29507e9..b0668d5eb1721ab7c66cf9b5d5b441f1795f0a42 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.js', null, /* Imports */[
+ 'dart/core.js'
+], /* Lazy imports */[
+ 'dart/_native_typed_data.js'
+], 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);
+});

Powered by Google App Engine
This is Rietveld 408576698