Skip to content

Commit 11aa5fd

Browse files
committed
isString : small fix for error in some IE's (on win7 and win8)
1 parent c83de70 commit 11aa5fd

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

lib/.tern-port

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
37046

lib/RouterMixin.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,10 @@ function join(a, b) {
228228
}
229229

230230
function isString(o) {
231-
return Object.prototype.toString.call(o) === '[object String]';
231+
return (Object.prototype.toString.call(o) === '[object String]'
232+
|| Object.prototype.toString.call(o) === '[object Array Iterator]')
233+
232234
}
233235

236+
234237
module.exports = RouterMixin;

0 commit comments

Comments
 (0)