Files
sdk/pkg/dev_compiler/tool/input_sdk/private/preambles
Lasse Reichstein Holst Nielsen 9412b54f1f Fix DoubleLinkedListQueue misbehavior on concurrent modification.
Documented forEachEntry, firstEntry and lastEntry.
Made forEachEntry more useful by making it compatible with removing and adding
around the current entry, and documented how it interacts.

BUG= http://dartbug.com/27920
R=floitsch@google.com

Review URL: https://codereview.chromium.org/2540993002 .
2016-12-06 09:27:04 +01:00
..
2015-03-02 16:00:53 -08:00
2015-03-02 16:00:53 -08:00

The files in this directory polyfill some of the functionality that browsers
provide. When running command-line JS evaluators it is frequently necessary to
execute the preambles before executing the output of dart2js.

=Usage=
- d8:
    d8 <sdk>/lib/_internal/compiler/js_lib/preambles/d8.js <output>.js

- jsshell:
    jsshell -f <sdk>/lib/_internal/compiler/js_lib/preambles/d8.js -f <output>.js

- node.js:
  The d8 preamble file works for most programs.

  Unfortunately we are not aware of any easy way to provide multiple input files
  to node. It seems to be necessary to concatenate the d8 preamble and the
  dart2js output.