node/src
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
..
child_process.cc SetClassName on internal classes. 2009-10-03 15:08:03 +02:00
child_process.h Lint 2009-09-12 14:21:37 +02:00
constants.cc API: node.fs.read() takes a normal encoding parameter. 2009-09-13 18:31:17 +02:00
constants.h Lint 2009-09-12 14:21:37 +02:00
dns.cc Lint 2009-09-12 14:21:37 +02:00
dns.h Lint 2009-09-12 14:21:37 +02:00
events.cc SetClassName on internal classes. 2009-10-03 15:08:03 +02:00
events.h Bugfix: EIOPromise::Create was allocating two EIOPromise objects 2009-09-23 00:17:50 +02:00
events.js Throw ret value from wait() only if it's there. 2009-09-20 17:35:07 +02:00
file.cc SetClassName on internal classes. 2009-10-03 15:08:03 +02:00
file.h cpplint.js file.{cc,h} 2009-09-23 16:33:24 +02:00
file.js Remove "raw" encoding. Rename "raws" to "binary". 2009-09-21 12:27:22 +02:00
http.cc Don't use parseUri for HTTP server 2009-10-04 12:19:01 +02:00
http.h Don't use parseUri for HTTP server 2009-10-04 12:19:01 +02:00
net.cc SetClassName on internal classes. 2009-10-03 15:08:03 +02:00
net.h Add connection.setNoDelay() to disable Nagle algorithm. 2009-09-23 15:36:34 +02:00
node.cc API: Move node.exit() to process.exit(). 2009-09-28 18:48:18 +02:00
node.h Remove "raw" encoding. Rename "raws" to "binary". 2009-09-21 12:27:22 +02:00
node.js Remove include() add node.mixin() 2009-10-05 15:46:31 +02:00
node_stdio.cc Remove compiler warning with extra assert. 2009-09-09 18:06:58 +02:00
node_stdio.h Introduce node.stdio 2009-08-24 21:20:26 +02:00
node_version.h.in Add node.installPrefix 2009-09-17 15:36:31 +02:00
object_wrap.h Build natively on x64. 2009-09-02 20:19:52 +02:00
timer.cc SetClassName on internal classes. 2009-10-03 15:08:03 +02:00
timer.h lint 2009-08-26 22:14:45 +02:00
util.js Remove include() add node.mixin() 2009-10-05 15:46:31 +02:00