0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 23:16:30 +01:00
Commit Graph

5964 Commits

Author SHA1 Message Date
Ryan Dahl
fdc136df69 Add documentation for promise.emitSuccess and emitError 2009-09-15 15:25:06 +02:00
Ryan Dahl
7fa694a3b6 fix typo on website 2009-09-14 22:44:25 +02:00
Ryan Dahl
0d1ec5fdbe API: node.fs.read() takes a normal encoding parameter.
Removes node.UTF8, node.RAW, node.ASCII enum versions of the encodings.
node.fs.read() now supports "raws" encoding.
2009-09-13 18:31:17 +02:00
Ryan Dahl
69e8a01c58 Fix broken asciidoc section 2009-09-12 19:14:16 +02:00
Ryan
dbe116ddfe API: Change arguments of emit(), emitSuccess(), emitError()
Instead of

  myemitter.emit("event", [arg1, arg2, arg3]);

the API is now

  myemitter.emit("event", arg1, arg2, arg3);

This change saves the creation of an extra array object for each event.
The implementation is also slightly more simple.
2009-09-12 14:21:37 +02:00
Ryan
97355f3613 spell check api.txt 2009-09-11 21:27:20 +02:00
Ryan
12bb0d46ce bump version 2009-09-11 21:06:50 +02:00
Ryan
5629fd574a Add doc note about 'raws' encoding 2009-09-11 21:04:02 +02:00
Ryan
d03c7e38e9 Just add the gernerated doc files. Make life easier. 2009-09-11 20:51:39 +02:00
Ryan
d851bf9a66 Revert "Add xsl files to doc directory so people can build docs easily"
This reverts commit 412b4636c8.
2009-09-11 20:47:45 +02:00
Ryan
412b4636c8 Add xsl files to doc directory so people can build docs easily 2009-09-11 20:34:55 +02:00
Ryan
241950c1df Add isDirectory(), isFile(), isSocket(), ... methods to stats object.
Thanks to Felix Geisendörfer for the initial patch.
2009-09-11 13:41:47 +02:00
Ryan
dc39e82024 Add access to user environment via ENV 2009-09-10 14:07:35 +02:00
Ryan
68dda0a7d8 Man page generation. 2009-09-10 13:40:38 +02:00