node/doc
Ryan Dahl 8185e1fd25 Remove include() add node.mixin()
include() should not be used by libraries because it will pollute the global
namespace. To discourage this behavior and bring Node more in-line with
the current CommonJS module system, include() is removed.

Small scripts like unit tests often times do want to pollute the global
namespace for ease. To avoid the boiler plate code of

  var x = require("/x.js");
  var foo = x.foo;
  var bar = x.bar;

The function node.mixin() is stolen from jQuery's jQuery.extend. So that it
can be written:

  node.mixin(require("/x.js"));

Reference:
http://docs.jquery.com/Utilities/jQuery.extend
http://groups.google.com/group/nodejs/browse_thread/thread/f9ac83e5c11e7e87
2009-10-05 15:46:31 +02:00
..
api.txt Remove include() add node.mixin() 2009-10-05 15:46:31 +02:00
common.xsl Improve "make dist" remove generated doc from repo. 2009-10-03 22:48:33 +02:00
index.html chat.tinyclouds.org -> chat.nodejs.org 2009-10-02 16:24:49 +02:00
manpage.xsl Improve "make dist" remove generated doc from repo. 2009-10-03 22:48:33 +02:00
pipe.css
sh_javascript.min.js
sh_main.js Syntax highlighting for <tt> elements. 2009-09-23 16:58:28 +02:00
sh_vim-dark.css
toc.js Syntax highlighting for api.html. 2009-09-23 11:25:31 +02:00