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

Side by Side Diff: pkg/compiler/lib/src/js_emitter/headers.dart

Issue 2495383003: Add implementation of Isolate.resolvePackageUri for dart2js. (Closed)
Patch Set: cl comments Created 4 years, 1 month 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 | « no previous file | sdk/lib/_internal/js_runtime/lib/isolate_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
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 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. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library dart2js.js_emitter.headers; 5 library dart2js.js_emitter.headers;
6 6
7 import '../compiler.dart' show Compiler; 7 import '../compiler.dart' show Compiler;
8 8
9 String generatedBy(Compiler compiler, {String flavor: ""}) { 9 String generatedBy(Compiler compiler, {String flavor: ""}) {
10 String suffix = ''; 10 String suffix = '';
(...skipping 14 matching lines...) Expand all
25 // dartMainRunner(main, args): 25 // dartMainRunner(main, args):
26 // if this function is defined, the Dart [main] method will not be invoked 26 // if this function is defined, the Dart [main] method will not be invoked
27 // directly. Instead, a closure that will invoke [main], and its arguments 27 // directly. Instead, a closure that will invoke [main], and its arguments
28 // [args] is passed to [dartMainRunner]. 28 // [args] is passed to [dartMainRunner].
29 // 29 //
30 // dartDeferredLibraryLoader(uri, successCallback, errorCallback): 30 // dartDeferredLibraryLoader(uri, successCallback, errorCallback):
31 // if this function is defined, it will be called when a deferred library 31 // if this function is defined, it will be called when a deferred library
32 // is loaded. It should load and eval the javascript of `uri`, and call 32 // is loaded. It should load and eval the javascript of `uri`, and call
33 // successCallback. If it fails to do so, it should call errorCallback with 33 // successCallback. If it fails to do so, it should call errorCallback with
34 // an error. 34 // an error.
35 //
36 // defaultPackagesBase:
37 // Override the location where `package:` uris are resolved from. By default
38 // they are resolved under "packages/" from the current window location.
35 """; 39 """;
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/_internal/js_runtime/lib/isolate_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698