mirror of https://github.com/nodejs/node.git
b70fed48a7
Fix #1484 Fix #1834 Fix #1482 Fix #771 It's been a while now, and we've seen how this separate context thing works. It constantly confuses people, and no one actually uses '.clear' anyway, so the benefit of that feature does not justify the constant WTFery. This makes repl.context actually be a getter that returns the global object, and prints a deprecation warning. The '.clear' command is gone, and will report that it's an invalid repl keyword. Tests updated to allow the require, module, and exports globals, which are still available in the repl just like they were before, by making them global. |
||
---|---|---|
.. | ||
api | ||
api_assets | ||
logos | ||
cla.html | ||
favicon.ico | ||
index.html | ||
joyent-logo_orange_nodeorg-01.png | ||
logo.png | ||
node.1 | ||
pipe.css | ||
sh_javascript.min.js | ||
sh_main.js | ||
sh_vim-dark.css | ||
sponsored.png | ||
template.html | ||
trademark-policy.pdf | ||
v0.4_announcement.html |