Chromium Code Reviews

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: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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..13c24a88ba86cf0a680bdf65250a372dde524c19 100644
--- a/lib/runtime/dart/_js_primitives.js
+++ b/lib/runtime/dart/_js_primitives.js
@@ -1,5 +1,5 @@
-var _js_primitives = dart.defineLibrary(_js_primitives, {});
-var core = dart.import(core);
+dart.defineLibrary('_js_primitives');
+dart.import('core');
(function(exports, core) {
'use strict';
function printString(string) {

Powered by Google App Engine