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

Unified Diff: tool/input_sdk_patch/preambles/jsshell.js

Issue 955513008: cleans up sdk patching so we no longer have unresolved names (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 10 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 | « tool/input_sdk_patch/preambles/d8.js ('k') | tool/input_sdk_patch/regexp_helper.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tool/input_sdk_patch/preambles/jsshell.js
diff --git a/tool/input_sdk_patch/preambles/jsshell.js b/tool/input_sdk_patch/preambles/jsshell.js
deleted file mode 100644
index 8f13bcc8f28fefa1adcad3488d1746cf590c35c1..0000000000000000000000000000000000000000
--- a/tool/input_sdk_patch/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 | « tool/input_sdk_patch/preambles/d8.js ('k') | tool/input_sdk_patch/regexp_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698