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

Side by Side 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, 9 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 // Javascript preamble, that lets the output of dart2js run on JSShell.
6
7 (function(self) {
8 // Using strict mode to avoid accidentally defining global variables.
9 "use strict"; // Should be first statement of this function.
10
11 // Location (Uri.base)
12
13 var workingDirectory = environment["PWD"];
14 self.location = { href: "file://" + workingDirectory + "/" };
15
16 // Global properties. "self" refers to the global object, so adding a
17 // property to "self" defines a global variable.
18 self.self = self;
19 })(this)
OLDNEW
« 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