You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lance Ball
3b461870be
doc: Backport ee.once doc clarifications to 4.x.
Addresses #5566 . The `ee.once()` function is currently documented as
invoking the listener, and then removing it when the event is
triggered. However, this is not really the case. The listener is removed
and _then_ invoked. This only matters in a narrow set of use cases, but
when it matters, it matters that the docs are correct.
See the issue (#5566 ) for a discussion on why the code has not been
modified to match the documentation, but instead the documentation has
been modified to match the code.
Fixes : #5566
Ref: #6371
PR-URL: https://github.com/nodejs/node/pull/7103
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Robert Lindstaedt <robert.lindstaedt@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
9 years ago
..
_toc.markdown
doc: subdivide TOC, add auxiliary links
9 years ago
addons.markdown
doc: fix typo in api/addons
9 years ago
all.markdown
doc: add 'Command Line Options' to 'View on single page'
9 years ago
assert.markdown
doc: note assert.throws() pitfall
9 years ago
buffer.markdown
doc: fix incorrect references in buffer docs
9 years ago
child_process.markdown
doc: fix exec example in child_process
9 years ago
cli.markdown
doc: add a cli options doc page
9 years ago
cluster.markdown
doc: fix the lint of an example in cluster.md
9 years ago
console.markdown
doc: explain differences in console.assert between node and browsers
9 years ago
crypto.markdown
doc: remove link to Sign in crypto.md
9 years ago
debugger.markdown
debugger: introduce exec method for debugger
9 years ago
dgram.markdown
doc: fix type references for link gen, link css
9 years ago
dns.markdown
doc: fix dns.resolveCname description typo
9 years ago
documentation.markdown
doc: "a" -> "an" in api/documentation.md
9 years ago
domain.markdown
doc: fix type references for link gen, link css
9 years ago
errors.markdown
doc: replace functions with arrow functions
9 years ago
events.markdown
doc: Backport ee.once doc clarifications to 4.x.
9 years ago
fs.markdown
doc: linkify remaining references to fs.Stats object
9 years ago
globals.markdown
doc: fix a typo in __dirname section
9 years ago
http.markdown
doc: clarifies http.serverResponse implementation
9 years ago
https.markdown
doc: update openssl.org hash links
9 years ago
index.markdown
Remove util.print from docs
14 years ago
modules.markdown
doc: mention existence/purpose of module wrapper
9 years ago
net.markdown
doc: fix relative links in net docs
9 years ago
os.markdown
doc: fenced all code blocks, typo fixes
9 years ago
path.markdown
doc: revert backported commits
9 years ago
process.markdown
doc: Add note about use of JSON.stringify()
9 years ago
punycode.markdown
doc: fenced all code blocks, typo fixes
9 years ago
querystring.markdown
doc: fix multiline return comments in querystring
9 years ago
readline.markdown
doc: don't use "interface" as a variable name
9 years ago
repl.markdown
doc: Remove extra space in REPL example
9 years ago
stream.markdown
doc: minor argument formatting in stream.markdown
9 years ago
string_decoder.markdown
doc: fenced all code blocks, typo fixes
9 years ago
synopsis.markdown
doc: better example & synopsis
9 years ago
timers.markdown
doc: consolidate timers docs in timers.markdown
9 years ago
tls.markdown
doc: update openssl.org hash links
9 years ago
tty.markdown
doc: fenced all code blocks, typo fixes
9 years ago
url.markdown
doc: fenced all code blocks, typo fixes
9 years ago
util.markdown
doc: copyedit util doc
9 years ago
v8.markdown
doc: update V8 URL
9 years ago
vm.markdown
doc: update vm.runInDebugContext() example
9 years ago
zlib.markdown
doc: note that zlib.flush acts after pending writes
9 years ago