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

Unified Diff: sdk/lib/_internal/lib/preambles/jsshell.js

Issue 538513002: Move js library back into compiler directory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/_internal/lib/preambles/d8.js ('k') | sdk/lib/_internal/lib/regexp_helper.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « sdk/lib/_internal/lib/preambles/d8.js ('k') | sdk/lib/_internal/lib/regexp_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698