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

Unified Diff: test/codegen/expect/sunflower/painter.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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/codegen/expect/sunflower/painter.js
diff --git a/test/codegen/expect/sunflower/painter.js b/test/codegen/expect/sunflower/painter.js
index 0877e7306bb61169c202e0388c6bdd9186d6b7cb..7785672787cd647f0d341520b531ff054b723ab5 100644
--- a/test/codegen/expect/sunflower/painter.js
+++ b/test/codegen/expect/sunflower/painter.js
@@ -1,8 +1,8 @@
-var painter = dart.defineLibrary(painter, {});
-var math = dart.import(math);
-var dom = dart.import(dom);
-var core = dart.import(core);
-var circle = dart.import(circle);
+dart.defineLibrary('painter');
+dart.import('math');
+dart.import('dom');
+dart.import('core');
+dart.import('circle');
(function(exports, math, dom, core, circle) {
'use strict';
let ORANGE = "orange";

Powered by Google App Engine
This is Rietveld 408576698