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

Side by Side Diff: sdk/lib/_internal/compiler/js_lib/preambles/README

Issue 1212513002: sdk files reorganization to make dart2js a proper package (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: renamed Created 5 years, 5 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
OLDNEW
(Empty)
1 The files in this directory polyfill some of the functionality that browsers
2 provide. When running command-line JS evaluators it is frequently necessary to
3 execute the preambles before executing the output of dart2js.
4
5 =Usage=
6 - d8:
7 d8 <sdk>/lib/_internal/compiler/js_lib/preambles/d8.js <output>.js
8
9 - jsshell:
10 jsshell -f <sdk>/lib/_internal/compiler/js_lib/preambles/d8.js -f <output>.j s
11
12 - node.js:
13 The d8 preamble file works for most programs.
14
15 Unfortunately we are not aware of any easy way to provide multiple input files
16 to node. It seems to be necessary to concatenate the d8 preamble and the
17 dart2js output.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698