Showing with 73 additions and 3 deletions.
  1. +1 −0 doc/about/index.html
  2. +9 −0 doc/api/events.markdown
  3. +2 −2 doc/api/globals.markdown
  4. +10 −0 doc/api_assets/style.css
  5. +1 −0 doc/blog.html
  6. +1 −0 doc/changelog-foot.html
  7. +1 −0 doc/community/index.html
  8. +34 −1 doc/download/index.html
  9. +1 −0 doc/index.html
  10. +1 −0 doc/logos/index.html
  11. +10 −0 doc/pipe.css
  12. +1 −0 doc/template.html
  13. +1 −0 lib/events.js
@@ -111,6 +111,7 @@ <h1>Node's goal is to provide an easy way to build scalable
</div>
</div>
<div id="footer">
<a href="http://joyent.com" class="joyent-logo">Joyent</a>
<ul class="clearfix">
<li><a href="/">Node.js</a></li>
<li><a href="/#download">Download</a></li>
@@ -39,6 +39,8 @@ Adds a listener to the end of the listeners array for the specified event.
console.log('someone connected!');
});

Returns emitter, so calls can be chained.

### emitter.once(event, listener)

Adds a **one time** listener for the event. This listener is
@@ -49,6 +51,8 @@ it is removed.
console.log('Ah, we have our first user!');
});

Returns emitter, so calls can be chained.

### emitter.removeListener(event, listener)

Remove a listener from the listener array for the specified event.
@@ -61,11 +65,13 @@ Remove a listener from the listener array for the specified event.
// ...
server.removeListener('connection', callback);

Returns emitter, so calls can be chained.

### emitter.removeAllListeners([event])

Removes all listeners, or those of the specified event.

Returns emitter, so calls can be chained.

### emitter.setMaxListeners(n)

@@ -74,6 +80,7 @@ added for a particular event. This is a useful default which helps finding
memory leaks. Obviously not all Emitters should be limited to 10. This function
allows that to be increased. Set to zero for unlimited.

Returns emitter, so calls can be chained.

### EventEmitter.defaultMaxListeners

@@ -99,6 +106,8 @@ Returns an array of listeners for the specified event.

Execute each of the listeners in order with the supplied arguments.

Returns `true` if event had listeners, `false` otherwise.


### Class Method: EventEmitter.listenerCount(emitter, event)

@@ -63,10 +63,10 @@ value from this object, the next `require` will reload the module.

### require.extensions

* {Array}

Stability: 0 - Deprecated

* {Object}

Instruct `require` on how to handle certain file extensions.

Process files with the extension `.sjs` as `.js`:
@@ -466,6 +466,16 @@ a.anchor {
padding: 0;
}

#footer .joyent-logo {
display:block;
position:absolute;
overflow:hidden;
text-indent:-999em;
height:100px;
width:190px;
z-index:999;
}

#footer p {
font-size: 11px;
line-height: 1em;
@@ -208,6 +208,7 @@ <h1><a href="<%=
</div>

<div id="footer">
<a href="http://joyent.com" class="joyent-logo">Joyent</a>
<ul class="clearfix">
<li><a href="http://nodejs.org/">Node.js</a></li>
<li><a href="http://nodejs.org/download/">Download</a></li>
@@ -2,6 +2,7 @@
</div>
</div>
<div id="footer">
<a href="http://joyent.com" class="joyent-logo">Joyent</a>
<ul class="clearfix">
<li><a href="/">Node.js</a></li>
<li><a href="/download/">Download</a></li>
@@ -218,6 +218,7 @@ <h2 class="irc">IRC</h2>
</div>

<div id="footer">
<a href="http://joyent.com" class="joyent-logo">Joyent</a>
<ul class="clearfix">
<li><a href="/">Node.js</a></li>
<li><a href="/download/">Download</a></li>
@@ -155,5 +155,38 @@ <h2 id="license">License</h2>
</div>
</div>
</div>
</body>

<div id="footer">
<a href="http://joyent.com" class="joyent-logo">Joyent</a>
<ul class="clearfix">
<li><a href="/">Node.js</a></li>
<li><a href="/download/">Download</a></li>
<li><a href="/about/">About</a></li>
<li><a href="http://search.npmjs.org/">npm Registry</a></li>
<li><a href="http://nodejs.org/api/">Docs</a></li>
<li><a href="http://blog.nodejs.org">Blog</a></li>
<li><a href="/community/">Community</a></li>
<li><a href="/logos/">Logos</a></li>
<li><a href="http://jobs.nodejs.org/">Jobs</a></li>
<!-- <li><a hrfe="http://twitter.com/nodejs" class="twitter">@nodejs</a></li> -->
</ul>

<p>Copyright <a href="http://joyent.com/">Joyent, Inc</a>, Node.js is a <a href="/trademark-policy.pdf">trademark</a> of Joyent, Inc. View <a href="https://raw.github.com/joyent/node/__VERSION__/LICENSE">license</a>.</p>
</div>


<script src="sh_main.js"></script>
<script src="sh_javascript.min.js"></script>
<script>highlight(undefined, undefined, 'pre');</script>

<script>
window._gaq = [['_setAccount', 'UA-10874194-2'], ['_trackPageview']];
(function(d, t) {
var g = d.createElement(t),
s = d.getElementsByTagName(t)[0];
g.src = '//www.google-analytics.com/ga.js';
s.parentNode.insertBefore(g, s);
}(document, 'script'));
</script>
</body>
</html>
@@ -129,6 +129,7 @@ <h2>Explore Node.js</h2>
</div>

<div id="footer">
<a href="http://joyent.com" class="joyent-logo">Joyent</a>
<ul class="clearfix">
<li><a href="/">Node.js</a></li>
<li><a href="/download/">Download</a></li>
@@ -63,6 +63,7 @@ <h2>Desktop Background</h2>
</div>
</div>
<div id="footer">
<a href="http://joyent.com" class="joyent-logo">Joyent</a>
<ul class="clearfix">
<li><a href="/">Node.js</a></li>
<li><a href="/#download">Download</a></li>
@@ -495,6 +495,16 @@ h1 a, h2 a, h3 a, h4 a {
padding: 0;
}

#footer .joyent-logo {
display:block;
position:absolute;
overflow:hidden;
text-indent:-999em;
height:100px;
width:190px;
z-index:999;
}

#footer p {
font-size: 11px;
line-height: 1em;
@@ -53,6 +53,7 @@ <h2>Table of Contents</h2>
</div>
</div>
<div id="footer">
<a href="http://joyent.com" class="joyent-logo">Joyent</a>
<ul class="clearfix">
<li><a href="/">Node.js</a></li>
<li><a href="/download/">Download</a></li>
@@ -49,6 +49,7 @@ EventEmitter.prototype.setMaxListeners = function(n) {
if (typeof n !== 'number' || n < 0)
throw TypeError('n must be a positive number');
this._maxListeners = n;
return this;
};

EventEmitter.prototype.emit = function(type) {