Rainbow["onHighlight"] = Rainbow.onHighlight;
Isn't that line useless since `obj['property'] == obj.property` is always true?https://github.com/ccampbell/rainbow/blob/master/js/rainbow....
Rainbow["onHighlight"] = Rainbow.onHighlight;
Isn't that line useless since `obj['property'] == obj.property` is always true?https://github.com/ccampbell/rainbow/blob/master/js/rainbow....
In order to preserve the methods and keep them public you have to reference them like this.