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

Unified Diff: test/codegen_expected/map_keys.js

Issue 2249233002: fix #626, add AMD module format and make it default (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: fix tests and other changes Created 4 years, 4 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_expected/map_keys.js
diff --git a/test/codegen_expected/map_keys.js b/test/codegen_expected/map_keys.js
index 75c2a0981045a61865725e3e0687c5bea73c1533..0ead2e8eb010aa330af25a80b666f6db9f2ddb15 100644
--- a/test/codegen_expected/map_keys.js
+++ b/test/codegen_expected/map_keys.js
@@ -1,6 +1,4 @@
-dart_library.library('map_keys', null, /* Imports */[
- 'dart_sdk'
-], function load__map_keys(exports, dart_sdk) {
+define(['dart_sdk'], function(dart_sdk) {
'use strict';
const core = dart_sdk.core;
const math = dart_sdk.math;
@@ -18,7 +16,9 @@ dart_library.library('map_keys', null, /* Imports */[
};
dart.fn(map_keys.main, VoidTodynamic());
// Exports:
- exports.map_keys = map_keys;
+ return {
+ map_keys: map_keys
+ };
});
-//# sourceMappingURL=map_keys.js.map
+//# sourceMappingURL=/Users/jmesserly/src/dev_compiler/test/codegen_expected/map_keys.js.map

Powered by Google App Engine
This is Rietveld 408576698