Index: sdk/lib/_internal/lib/preambles/jsshell.js |
diff --git a/sdk/lib/_internal/lib/preambles/jsshell.js b/sdk/lib/_internal/lib/preambles/jsshell.js |
deleted file mode 100644 |
index 8f13bcc8f28fefa1adcad3488d1746cf590c35c1..0000000000000000000000000000000000000000 |
--- a/sdk/lib/_internal/lib/preambles/jsshell.js |
+++ /dev/null |
@@ -1,19 +0,0 @@ |
-// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-// Javascript preamble, that lets the output of dart2js run on JSShell. |
- |
-(function(self) { |
- // Using strict mode to avoid accidentally defining global variables. |
- "use strict"; // Should be first statement of this function. |
- |
- // Location (Uri.base) |
- |
- var workingDirectory = environment["PWD"]; |
- self.location = { href: "file://" + workingDirectory + "/" }; |
- |
- // Global properties. "self" refers to the global object, so adding a |
- // property to "self" defines a global variable. |
- self.self = self; |
-})(this) |