Commit 2e00b5c
authored
fix: don't use arrow function introduced in 2.4.1
There is ES6 syntax introduced in the latest release 2.4.1. Meanwhile the whole package is written in ES5 (`var` instead of `const`, etc).
Introducing this tiny use of arrow function renders usage of this module in browsers like IE11 impossible.
I hope it's not a big deal to stick with older syntax to remain consistent with code style and browser/node support1 parent bd2795a commit 2e00b5c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
0 commit comments