ajaxorg/ace — pull request #579 by okonomiyaki3000 (2011-12-16 06:24:09+00:00)
Title: Don't let $tokenizeRows return empty array. Rename variable 'char' as 'chr'

$tokenizeRows should never return an empty array. Its return value is expected to be an array with at least one object at index 0 with a string property 'state'. This change is meant to ensure that.

char is a reserved word in JavaScript (although apparently not used) and should not be used a variable name. Although it doesn't seem to cause problems in any browser, use of 'char' seems to cause the YUI compressor (specifically here: http://refresh-sf.com/yui/) to choke.