Fixed a bug that was preventing CoffeeScript from running in Chrome 13 and Firefox 5. Apparently, the CoffeeScript "in" operator for arrays uses Array.prototype.indexOf.call(array, item) for its implementation. In Chrome 12, if array were null or undefined, then this would return -1. In Chrome 13 and Firefox 5, this triggers an exception: "TypeError: Array.prototype.indexOf called on null or undefined." It is probably not correct to change CoffeeScript's "in" operator to accept null for the array argument, so in the one place I discovered where this change in behavior was causing me problems, I changed the code to check for null before using "in".
Fixed a bug that was preventing CoffeeScript from running in Chrome 13 and Firefox 5.
Apparently, the CoffeeScript "in" operator for arrays uses Array.prototype.indexOf.call(array, item) for its implementation. In Chrome 12, if array were null or undefined, then this would return -1. In Chrome 13 and Firefox 5, this triggers an exception: "TypeError: Array.prototype.indexOf called on null or undefined."
It is probably not correct to change CoffeeScript's "in" operator to accept null for the array argument, so in the one place I discovered where this change in behavior was causing me problems, I changed the code to check for null before using "in".

bolinfest/coffee-script,bolinfest/coffee-script,bolinfest/coffee-script