Closed geoffreyrichey closed 10 years ago
I know...IE7.
Can't access strings as array. Suggested modification:
Teacup.prototype.isSelector = function(string) { var _ref = string.split(''); return string.length > 1 && (_ref[0] === '#' || _ref[0] === '.'); };
Good catch! PR?
Tracked in #23
I know...IE7.
Can't access strings as array. Suggested modification:
Teacup.prototype.isSelector = function(string) { var _ref = string.split(''); return string.length > 1 && (_ref[0] === '#' || _ref[0] === '.'); };