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

Unified Diff: test/codegen/expect/map_keys.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/html_input.html ('k') | test/codegen/expect/methods.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/map_keys.js
diff --git a/test/codegen/expect/map_keys.js b/test/codegen/expect/map_keys.js
index 3b9724a4181792217d8c6f07dd197503a7cace6e..e94abbdebbfb0be7ed751b7223a4d8c989f7a71c 100644
--- a/test/codegen/expect/map_keys.js
+++ b/test/codegen/expect/map_keys.js
@@ -1,7 +1,8 @@
-var map_keys = dart.defineLibrary(map_keys, {});
-var core = dart.import(core);
-var math = dart.import(math);
-(function(exports, core, math) {
+dart.library('map_keys', null, /* Imports */[
+ 'dart/core',
+ 'dart/math'
+], /* Lazy imports */[
+], function(exports, core, math) {
'use strict';
function main() {
core.print(dart.map({'1': 2, '3': 4, '5': 6}));
@@ -14,5 +15,5 @@ var math = dart.import(math);
dart.fn(main);
// Exports:
exports.main = main;
-})(map_keys, core, math);
+});
//# sourceMappingURL=map_keys.js.map
« no previous file with comments | « test/codegen/expect/html_input.html ('k') | test/codegen/expect/methods.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698