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

Unified Diff: lib/runtime/dart/_interceptors.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/_foreign_helper.js ('k') | lib/runtime/dart/_internal.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/_interceptors.js
diff --git a/lib/runtime/dart/_interceptors.js b/lib/runtime/dart/_interceptors.js
index 58ebc1e15f638478016ac4d35ddcb8b61f7b6091..05695be9f685067a6b547eec3d5dc1db4d41b5d9 100644
--- a/lib/runtime/dart/_interceptors.js
+++ b/lib/runtime/dart/_interceptors.js
@@ -1,10 +1,11 @@
-var _interceptors = dart.defineLibrary(_interceptors, {});
-var core = dart.import(core);
-var _internal = dart.import(_internal);
-var _js_helper = dart.lazyImport(_js_helper);
-var collection = dart.import(collection);
-var math = dart.import(math);
-(function(exports, core, _internal, _js_helper, collection, math) {
+dart.library('dart/_interceptors', null, /* Imports */[
+ 'dart/core',
+ 'dart/_internal',
+ 'dart/collection',
+ 'dart/math'
+], /* Lazy imports */[
+ 'dart/_js_helper'
+], function(exports, core, _internal, collection, math, _js_helper) {
'use strict';
let JSArray$ = dart.generic(function(E) {
class JSArray extends core.Object {
@@ -1435,4 +1436,4 @@ var math = dart.import(math);
exports.JavaScriptObject = JavaScriptObject;
exports.PlainJavaScriptObject = PlainJavaScriptObject;
exports.UnknownJavaScriptObject = UnknownJavaScriptObject;
-})(_interceptors, core, _internal, _js_helper, collection, math);
+});
« no previous file with comments | « lib/runtime/dart/_foreign_helper.js ('k') | lib/runtime/dart/_internal.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698