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

Unified Diff: test/codegen_expected/varargs.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: merged 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
« no previous file with comments | « test/codegen_expected/sunflower/sunflower.js.map ('k') | test/codegen_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen_expected/varargs.js
diff --git a/test/codegen_expected/varargs.js b/test/codegen_expected/varargs.js
index 18318cdbeeee25b017aa318254324d6e2f99627f..295c642b559d9e25a927f0307f174547b2546e47 100644
--- a/test/codegen_expected/varargs.js
+++ b/test/codegen_expected/varargs.js
@@ -1,6 +1,4 @@
-dart_library.library('varargs', null, /* Imports */[
- 'dart_sdk'
-], function load__varargs(exports, dart_sdk) {
+define(['dart_sdk'], function(dart_sdk) {
'use strict';
const core = dart_sdk.core;
const dart = dart_sdk.dart;
@@ -32,6 +30,8 @@ dart_library.library('varargs', null, /* Imports */[
};
dart.fn(src__varargs.spread, dynamicTodynamic());
// Exports:
- exports.varargs = varargs;
- exports.src__varargs = src__varargs;
+ return {
+ varargs: varargs,
+ src__varargs: src__varargs
+ };
});
« no previous file with comments | « test/codegen_expected/sunflower/sunflower.js.map ('k') | test/codegen_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698