joshaven / string_score

JavaScript string ranking 0 for no match upto 1 for perfect... "String".score("str"); //=> 0.825
MIT License
840 stars 62 forks source link

IE7 #11

Closed jvatic closed 11 years ago

jvatic commented 13 years ago

When running IE9 in IE7 mode,

"Foo".score("o") // => Unable to get value of the property 'toLowerCase': object is null or undefined, string_score.js, line 23

Not that anyone should still be using IE7, but the README does specify this should work in IE7.