Browse Source

trivial: Doc typo and lint fix

v0.9.1-release
isaacs 13 years ago
parent
commit
f105f2f2fd
  1. 2
      doc/api/cluster.markdown
  2. 2
      lib/querystring.js

2
doc/api/cluster.markdown

@ -58,7 +58,7 @@ create one, and pass the handle to the child.
This causes potentially surprising behavior in three edge cases: This causes potentially surprising behavior in three edge cases:
1. `server.listen({fd: 7})` Because the message is passed to the worker, 1. `server.listen({fd: 7})` Because the message is passed to the master,
file descriptor 7 **in the parent** will be listened on, and the file descriptor 7 **in the parent** will be listened on, and the
handle passed to the worker, rather than listening to the worker's handle passed to the worker, rather than listening to the worker's
idea of what the number 7 file descriptor references. idea of what the number 7 file descriptor references.

2
lib/querystring.js

@ -151,7 +151,7 @@ QueryString.stringify = QueryString.encode = function(obj, sep, eq, name) {
}).join(sep); }).join(sep);
} }
if (!name) return ''; if (!name) return '';
return QueryString.escape(stringifyPrimitive(name)) + eq + return QueryString.escape(stringifyPrimitive(name)) + eq +
QueryString.escape(stringifyPrimitive(obj)); QueryString.escape(stringifyPrimitive(obj));

Loading…
Cancel
Save