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

Unified Diff: test/codegen_expected/expect.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/destructuring.js ('k') | test/codegen_expected/map_keys.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen_expected/expect.js
diff --git a/test/codegen_expected/expect.js b/test/codegen_expected/expect.js
index 9094b2095db77a51592c3358cfb787399831e1dd..42def070c5461bb23bb65fc99151a0673e3b4125 100644
--- a/test/codegen_expected/expect.js
+++ b/test/codegen_expected/expect.js
@@ -1,6 +1,4 @@
-dart_library.library('expect', null, /* Imports */[
- 'dart_sdk'
-], function load__expect(exports, dart_sdk) {
+define(['dart_sdk'], function(dart_sdk) {
'use strict';
const core = dart_sdk.core;
const dart = dart_sdk.dart;
@@ -300,5 +298,7 @@ dart_library.library('expect', null, /* Imports */[
constructors: () => ({new: dart.definiteFunctionType(expect.AssumeDynamic, [])})
});
// Exports:
- exports.expect = expect;
+ return {
+ expect: expect
+ };
});
« no previous file with comments | « test/codegen_expected/destructuring.js ('k') | test/codegen_expected/map_keys.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698