Merge pull request #17 from silkapp/master

Fix problem with html5shiv and old IE
This commit is contained in:
Faisal Salman 2013-05-19 22:01:37 -07:00
commit ec50c619ea
2 changed files with 2 additions and 8 deletions

View File

@ -121,7 +121,7 @@
for (var i in map) {
// check if array
if (typeof(map[i]) === OBJ_TYPE && map[i].length > 0) {
for (var j in map[i]) {
for (var j = 0; j < map[i].length; j++) {
if (util.has(map[i][j], str)) {
return (i === UNKNOWN) ? undefined : i;
}

File diff suppressed because one or more lines are too long