goodeggs / teacup

Teacup is templates in CoffeeScript
MIT License
122 stars 18 forks source link

isSelector ie7 bug #22

Closed geoffreyrichey closed 10 years ago

geoffreyrichey commented 11 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] === '.'); };

hurrymaplelad commented 11 years ago

Good catch! PR?

hurrymaplelad commented 10 years ago

Tracked in #23