diff options
author | Kyle K <kylek389@gmail.com> | 2012-08-10 22:07:49 -0500 |
---|---|---|
committer | Kyle Kaminski <kyle@kkaminsk.com> | 2012-08-10 22:07:49 -0500 |
commit | 6fd7f7e76a9dee93d2440b1a0e57c2d081046344 (patch) | |
tree | 5631d98000832d16af5d5dd69f6f7d5f621dab2f | |
parent | 4736d0ea965dbcc1cfb71161e0cf62d43e10b159 (diff) | |
download | fubar-6fd7f7e76a9dee93d2440b1a0e57c2d081046344.tar.gz fubar-6fd7f7e76a9dee93d2440b1a0e57c2d081046344.tar.bz2 fubar-6fd7f7e76a9dee93d2440b1a0e57c2d081046344.zip |
typos and shit
-rw-r--r-- | protoype/app.js | 2 | ||||
-rw-r--r-- | samples/call_method.js | 4 | ||||
-rw-r--r-- | samples/func_ret_func.js | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/protoype/app.js b/protoype/app.js index d809a87..450112e 100644 --- a/protoype/app.js +++ b/protoype/app.js @@ -172,7 +172,7 @@ app.listen(8081, function() { util.log('[server] new connection from ' + socket.remoteAddress + ':' + socket.remotePort); socket.on('close', function() { /* delete connected_clients */ - console.log('[server] client ' + this.myip + ':' + this.myport + ' closed connection\n'); + util.log('[server] client ' + this.myip + ':' + this.myport + ' closed connection\n'); }); }) .on('close', function() { diff --git a/samples/call_method.js b/samples/call_method.js index a227562..0197723 100644 --- a/samples/call_method.js +++ b/samples/call_method.js @@ -1,6 +1,6 @@ /* shows how to use call() and apply() - * essentially give a method called .bar(), instead of calling it directly with - * use of dobule parens we append .call(instance [, arg1, arg2, ...]), where + * essentially given a method called .bar(), instead of calling it directly with + * use of double parens we append .call(instance [, arg1, arg2, ...]), where * apply takes array of args */ diff --git a/samples/func_ret_func.js b/samples/func_ret_func.js index b4b5a09..2decac3 100644 --- a/samples/func_ret_func.js +++ b/samples/func_ret_func.js @@ -8,5 +8,5 @@ function retFunction(foo) { } var foo = new retFunction('hello, world!'); -foo.call(foo); +foo.call(foo); /* call the bar() with no args in foo object */ |