Commit 6e41d7d
committed
Use safer isArray
`object instanceof Array` is not safe in multi-frame environments. See http://perfectionkills.com/instanceof-considered-harmful-or-how-to-write-a-robust-isarray/ for more information.1 parent eef41d4 commit 6e41d7d
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments