Commit Graph

18 Commits (28db0c2562ae7395dd01a034294fcda67fb9be71)

Author SHA1 Message Date
Ryan Dahl ba792ea202 :%s/sys.puts/console.log/g
and there was much rejoicing
2010-06-23 20:05:29 -07:00
Ryan Dahl 6056d2ea2c node without arguments starts the REPL 2010-06-07 16:15:41 -07:00
Ryan Dahl 41f213be18 Add binding to termios, implement readline for repl 2010-06-07 15:24:21 -07:00
Ryan Dahl 6e715b82d0 Upgrade Waf to 1.5.16 2010-04-18 19:57:13 -04:00
Ryan Dahl 01f7d4484e Upgrade to WAF 1.5.15 2010-04-04 21:12:25 -07:00
Standa Opichal c2c0cfb75f Making sure node-waf finds its real bindir even when executed through a symlinked path. 2010-03-09 13:05:44 -08:00
isaacs 602d1861a1 Remove process.mixin from repl 2010-03-09 09:04:45 -08:00
Ryan Dahl e898c1f2e3 Upgrade WAF to 1.5.14 2010-03-08 10:18:24 -08:00
Ryan Dahl 1b9eaf43f5 Update node-waf version to 1.5.10 - to match tools/wafadmin 2010-01-06 17:12:22 -08:00
visionmedia a650138ebf Moved help msg to node-repl 2010-01-04 22:06:18 -08:00
Ryan Dahl 7a2e784ad7 Module refactor - almost CommonJS compatible now
API change summary:

  * require("/sys.js") becomes require("sys")

  * require("circle.js") becomes require("./circle")

  * process.path.join() becomes require("path").join()
2009-10-31 19:10:30 +01:00
Ryan Dahl 57890465bd A few more node->process changes 2009-10-30 05:49:23 +01:00
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
Ryan Dahl 39e6d959d7 Add node-waf to help with building addons. 2009-10-04 10:33:39 +02:00
Ryan Dahl 27738d8e60 Clean up some things in the repl, add docs. 2009-09-28 18:48:19 +02:00
Ryan Dahl c27d9f986a include utils in the repl. 2009-09-28 18:48:18 +02:00
Ryan Dahl ffded5ac86 Extract the good parts of node-repl into standalone library.
Now you can require("/repl.js") in your server to be able to examine it
while it's running.
2009-09-24 00:56:24 +02:00
Ryan Dahl 2db7d6755e Move node-repl to bin/node-repl 2009-09-20 20:54:19 +02:00