masuidrive/ti-websocket-client — Issue #1: JSlint errors left
Author: HilkoLantinga
Created: 2011-11-20 12:34:21+00:00
State: open

First of all, great work!!! I'm really looking forward to see this integrated with socket.io.
I've seen that you've fixed some JSlint errors, I've found some more:

You're creating arrays like this:
var words = new Array(size);
JSlint recommends using array literal notation, and javascript doesn't need an array size, it will be incremented automatically.

So you could just do:
var words = [];

Besides that there are some variable undefined (j, _base64_keyStr, str, reason)
And some node.js methods left that should be replaced with titanium methods (console.error, console.trace)
And some comma's that should be remove (behind type: Ti.Codec.TYPE_BYTE)