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

Side by Side Diff: lib/js/legacy/dart_library.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, 3 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 unified diff | Download patch
« no previous file with comments | « lib/js/common/run.js ('k') | lib/js/legacy/dart_sdk.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 /* This file defines the module loader for the dart runtime. 5 /* This file defines the module loader for the dart runtime.
6 */ 6 */
7 7
8 var dart_library = 8 var dart_library =
9 typeof module != "undefined" && module.exports || {}; 9 typeof module != "undefined" && module.exports || {};
10 10
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 window.SourceBufferList = new MediaSource().sourceBuffers.constructor; 159 window.SourceBufferList = new MediaSource().sourceBuffers.constructor;
160 } 160 }
161 } 161 }
162 162
163 // This import is only needed for chrome debugging. We should provide an 163 // This import is only needed for chrome debugging. We should provide an
164 // option to compile without it. 164 // option to compile without it.
165 dart_sdk._debugger.registerDevtoolsFormatter(); 165 dart_sdk._debugger.registerDevtoolsFormatter();
166 } 166 }
167 167
168 })(dart_library); 168 })(dart_library);
OLDNEW
« no previous file with comments | « lib/js/common/run.js ('k') | lib/js/legacy/dart_sdk.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698