OLD | NEW |
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 Loading... |
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); |
OLD | NEW |