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

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: 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 | « test/codegen/expect/sunflower/circle.js ('k') | test/codegen/expect/sunflower/painter.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/sunflower/dom.js
diff --git a/test/codegen/expect/sunflower/dom.js b/test/codegen/expect/sunflower/dom.js
index 366b6ef6f198a8f0b69a2354180ba6a77c5d773f..81ac62a0368032da1940fdc776b6c4f08204c1fe 100644
--- a/test/codegen/expect/sunflower/dom.js
+++ b/test/codegen/expect/sunflower/dom.js
@@ -1,6 +1,7 @@
-var dom = dart.defineLibrary(dom, window);
-var core = dart.import(core);
-(function(exports, core) {
+dart.library('dom', window, /* Imports */[
+ 'dart/core'
+], /* Lazy imports */[
+], function(exports, core) {
'use strict';
class JsName extends core.Object {
JsName(opts) {
@@ -46,4 +47,4 @@ var core = dart.import(core);
exports.RenderingContext = RenderingContext;
exports.CanvasDrawingStyles = CanvasDrawingStyles;
exports.CanvasPathMethods = CanvasPathMethods;
-})(dom, core);
+});
« no previous file with comments | « test/codegen/expect/sunflower/circle.js ('k') | test/codegen/expect/sunflower/painter.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698