Chromium Code Reviews| Index: lib/runtime/dart_sdk.js |
| diff --git a/lib/runtime/dart_sdk.js b/lib/runtime/dart_sdk.js |
| index 24ffb6c6e2b11a3700f63ad0c9968a7e39aa6d9c..8cc5540df4a52a7785b92443e3654bff2690c71c 100644 |
| --- a/lib/runtime/dart_sdk.js |
| +++ b/lib/runtime/dart_sdk.js |
| @@ -1,5 +1,4 @@ |
| -dart_library.library('dart_sdk', null, /* Imports */[ |
| -], function load__dart_sdk(exports) { |
| +define([], function() { |
|
vsm
2016/08/16 21:23:23
We should keep the legacy file in place to simplif
Jennifer Messerly
2016/08/24 22:39:51
done
|
| 'use strict'; |
| const dart = Object.create(null); |
| const dartx = Object.create(null); |
| @@ -84079,33 +84078,35 @@ dart_library.library('dart_sdk', null, /* Imports */[ |
| }); |
| dart.registerExtension(dart.global.SQLTransaction, web_sql.SqlTransaction); |
| // Exports: |
| - exports.dart = dart; |
| - exports.dartx = dartx; |
| - exports._debugger = _debugger; |
| - exports._foreign_helper = _foreign_helper; |
| - exports._interceptors = _interceptors; |
| - exports._internal = _internal; |
| - exports._isolate_helper = _isolate_helper; |
| - exports._js_embedded_names = _js_embedded_names; |
| - exports._js_helper = _js_helper; |
| - exports._js_mirrors = _js_mirrors; |
| - exports._js_primitives = _js_primitives; |
| - exports._metadata = _metadata; |
| - exports._native_typed_data = _native_typed_data; |
| - exports.async = async; |
| - exports.collection = collection; |
| - exports.convert = convert; |
| - exports.core = core; |
| - exports.isolate = isolate; |
| - exports.js = js; |
| - exports.math = math; |
| - exports.mirrors = mirrors; |
| - exports.typed_data = typed_data; |
| - exports.indexed_db = indexed_db; |
| - exports.html = html$; |
| - exports.html_common = html_common; |
| - exports.svg = svg$; |
| - exports.web_audio = web_audio; |
| - exports.web_gl = web_gl; |
| - exports.web_sql = web_sql; |
| + return { |
| + dart: dart, |
| + dartx: dartx, |
| + _debugger: _debugger, |
| + _foreign_helper: _foreign_helper, |
| + _interceptors: _interceptors, |
| + _internal: _internal, |
| + _isolate_helper: _isolate_helper, |
| + _js_embedded_names: _js_embedded_names, |
| + _js_helper: _js_helper, |
| + _js_mirrors: _js_mirrors, |
| + _js_primitives: _js_primitives, |
| + _metadata: _metadata, |
| + _native_typed_data: _native_typed_data, |
| + async: async, |
| + collection: collection, |
| + convert: convert, |
| + core: core, |
| + isolate: isolate, |
| + js: js, |
| + math: math, |
| + mirrors: mirrors, |
| + typed_data: typed_data, |
| + indexed_db: indexed_db, |
| + html: html$, |
| + html_common: html_common, |
| + svg: svg$, |
| + web_audio: web_audio, |
| + web_gl: web_gl, |
| + web_sql: web_sql |
| + }; |
| }); |