Index: pkg/dev_compiler/lib/js/legacy/dart_library.js |
diff --git a/pkg/dev_compiler/lib/js/legacy/dart_library.js b/pkg/dev_compiler/lib/js/legacy/dart_library.js |
index 585b7a446b0228a15cdd06dc390c847aa98c7624..bb6ab0298b4104863721541114dbef67b0b89a07 100644 |
--- a/pkg/dev_compiler/lib/js/legacy/dart_library.js |
+++ b/pkg/dev_compiler/lib/js/legacy/dart_library.js |
@@ -17,9 +17,6 @@ dart_library = |
throw Error(message); |
} |
- const dartLibraryName = Symbol('dartLibraryName'); |
- dart_library.dartLibraryName = dartLibraryName; |
- |
const libraryImports = Symbol('libraryImports'); |
dart_library.libraryImports = libraryImports; |
@@ -95,7 +92,7 @@ dart_library = |
// Load the library |
let loader = this; |
let library = this._library; |
- library[dartLibraryName] = this._name; |
+ |
library[libraryImports] = this._imports; |
library[loadedModule] = library; |
args.unshift(library); |
@@ -187,9 +184,6 @@ dart_library = |
if (_bootstrapped) return; |
_bootstrapped = true; |
- // Force import of core. |
- var dart_sdk = import_('dart_sdk'); |
- |
// This import is only needed for chrome debugging. We should provide an |
// option to compile without it. |
dart_sdk._debugger.registerDevtoolsFormatter(); |