unbind the comma
It appears that the logic to catch the comma needs a little work. key.unbind(','); will kick an error about 188 toUpperCase(). I just decided to pop the extra element, but will break some unit tests I'm sure, like key.unbind('k,,,j');
Original: function getKeys(key) { var keys; key = key.replace(/\s/g, ''); keys = key.split(','); if ((keys[keys.length - 1]) == '') { keys[keys.length - 2] += ','; } return keys; }
Modified: function getKeys(key) { var keys; key = key.replace(/\s/g, ''); keys = key.split(','); if ((keys[keys.length - 1]) == '') { keys[keys.length - 2] += ','; keys.pop(); } return keys; }
As a workaround, if you really want to unbind the comma key, you can call key.deleteScope("your_scope"), then re-bind all of the other keys for that scope that you wanted to keep.
Only works if you're using key scopes. It's really gross but it works.