Node.js JavaScript runtime 🐢🚀
 
 
 
 
 
 
Go to file
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
benchmark Remove include() add node.mixin() 2009-10-05 15:46:31 +02:00
bin Remove include() add node.mixin() 2009-10-05 15:46:31 +02:00
deps Add Makefiles which were forgotten. 2009-10-03 22:48:44 +02:00
doc Remove include() add node.mixin() 2009-10-05 15:46:31 +02:00
lib Parse queryString into req.uri.params 2009-10-05 14:52:26 +02:00
src Remove include() add node.mixin() 2009-10-05 15:46:31 +02:00
test/mjsunit Remove include() add node.mixin() 2009-10-05 15:46:31 +02:00
tools Modify node_addon configure api 2009-10-04 11:50:53 +02:00
.gitignore Improve "make dist" remove generated doc from repo. 2009-10-03 22:48:33 +02:00
ChangeLog bump version 2009-09-30 23:21:25 +02:00
LICENSE http.js license reference 2009-09-28 18:48:17 +02:00
Makefile Improve "make dist" remove generated doc from repo. 2009-10-03 22:48:33 +02:00
README Add note to README about wiki page 2009-07-24 15:14:59 +02:00
configure Don't unnecessarily output the makefile from the configure script. 2009-10-03 21:46:59 +02:00
wscript Remove node.pc 2009-10-05 13:04:21 +02:00

README

Purely evented I/O for V8 javascript.

See http://tinyclouds.org/node for more information.

For help and discussion subscribe to the mailing list at 
http://groups.google.com/group/nodejs or send an email to 
nodejs+subscribe@googlegroups.com.

A list of projects using Node can be found at
http://wiki.github.com/ry/node

To build
./configure
make 
make install