0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
Commit Graph

59 Commits

Author SHA1 Message Date
Ryan Dahl
16185ae57e update doc for node.fs.write() 2009-09-15 22:32:37 +02:00
Ryan Dahl
083d150bc4 Add node.exec() 2009-09-15 15:42:16 +02:00
Ryan Dahl
fdc136df69 Add documentation for promise.emitSuccess and emitError 2009-09-15 15:25:06 +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
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