Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 support
- Loading branch information