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

Unified Diff: test/codegen_expected/BenchmarkBase.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/sunflower/sunflower.html ('k') | test/codegen_expected/async_helper.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen_expected/BenchmarkBase.js
diff --git a/test/codegen_expected/BenchmarkBase.js b/test/codegen_expected/BenchmarkBase.js
index 9270d2e817ac16e3de7026e27cca9fc304afa8f4..70d2458f4a191dfef8911ed089a9c9d6cfbe2aa6 100644
--- a/test/codegen_expected/BenchmarkBase.js
+++ b/test/codegen_expected/BenchmarkBase.js
@@ -1,6 +1,4 @@
-dart_library.library('BenchmarkBase', null, /* Imports */[
- 'dart_sdk'
-], function load__BenchmarkBase(exports, dart_sdk) {
+define(['dart_sdk'], function(dart_sdk) {
'use strict';
const core = dart_sdk.core;
const dart = dart_sdk.dart;
@@ -92,5 +90,7 @@ dart_library.library('BenchmarkBase', null, /* Imports */[
names: ['measureFor']
});
// Exports:
- exports.BenchmarkBase = BenchmarkBase$;
+ return {
+ BenchmarkBase: BenchmarkBase$
+ };
});
« no previous file with comments | « test/codegen/sunflower/sunflower.html ('k') | test/codegen_expected/async_helper.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698