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

Unified Diff: test/codegen/expect/sunflower/dom.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/dom.js
diff --git a/test/codegen/expect/sunflower/dom.js b/test/codegen/expect/sunflower/dom.js
index 48461cb9f55575589f4dd91f510461118b084af3..06b7df30bf158341c1233f64759559ba9e36f5cf 100644
--- a/test/codegen/expect/sunflower/dom.js
+++ b/test/codegen/expect/sunflower/dom.js
@@ -1,5 +1,5 @@
-var dom = dart.defineLibrary(dom, window);
vsm 2015/06/04 22:36:53 Note, in the old pattern, this is silently broken
-var core = dart.import(core);
+dart.defineLibrary('dom', window);
+dart.import('core');
(function(exports, core) {
'use strict';
class JsName extends core.Object {

Powered by Google App Engine
This is Rietveld 408576698