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

Unified Diff: test/codegen/expect/domtest.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/dir/html_input_e.js ('k') | test/codegen/expect/fieldtest.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/domtest.js
diff --git a/test/codegen/expect/domtest.js b/test/codegen/expect/domtest.js
index e9cfb579eaf7d0a582ca5b83370cde75d236731c..767f1482ea304a61e9b4eb62aaa391a0ded67e35 100644
--- a/test/codegen/expect/domtest.js
+++ b/test/codegen/expect/domtest.js
@@ -1,7 +1,8 @@
-var domtest = dart.defineLibrary(domtest, {});
-var dom = dart.import(dom);
-var core = dart.import(core);
-(function(exports, dom, core) {
+dart.library('domtest', null, /* Imports */[
+ 'sunflower/dom',
+ 'dart/core'
+], /* Lazy imports */[
+], function(exports, dom, core) {
'use strict';
function testNativeIndexers() {
let nodes = dom.document.querySelector('body').childNodes;
@@ -14,4 +15,4 @@ var core = dart.import(core);
dart.fn(testNativeIndexers);
// Exports:
exports.testNativeIndexers = testNativeIndexers;
-})(domtest, dom, core);
+});
« no previous file with comments | « test/codegen/expect/dir/html_input_e.js ('k') | test/codegen/expect/fieldtest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698