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

Unified Diff: lib/runtime/dart/_js_primitives.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_helper.js ('k') | lib/runtime/dart/_native_typed_data.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/_js_primitives.js
diff --git a/lib/runtime/dart/_js_primitives.js b/lib/runtime/dart/_js_primitives.js
index c4859e1ccd8a4c42208442d4e211e371b2fe6cbe..b613d6c7b8c5ceedb184b3dcff63ac528a7b44c5 100644
--- a/lib/runtime/dart/_js_primitives.js
+++ b/lib/runtime/dart/_js_primitives.js
@@ -1,6 +1,7 @@
-var _js_primitives = dart.defineLibrary(_js_primitives, {});
-var core = dart.import(core);
-(function(exports, core) {
+dart.library('dart/_js_primitives', null, /* Imports */[
+ 'dart/core'
+], /* Lazy imports */[
+], function(exports, core) {
'use strict';
function printString(string) {
if (typeof dartPrint == "function") {
@@ -23,4 +24,4 @@ var core = dart.import(core);
dart.fn(printString, dart.void, [core.String]);
// Exports:
exports.printString = printString;
-})(_js_primitives, core);
+});
« no previous file with comments | « lib/runtime/dart/_js_helper.js ('k') | lib/runtime/dart/_native_typed_data.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698