diff options
author | yogevsyn | 2014-12-14 09:09:20 +0200 |
---|---|---|
committer | yogevsyn | 2014-12-14 09:09:20 +0200 |
commit | 3b2e7a2b20f909e2d2fdeef0d49b834c6c115fb1 (patch) | |
tree | 8bdd226aec72943e5cabcfa3e958512bf82d5e26 /asdfghjkl.js | |
parent | c7477262bd421efbe5e074344dd6c1efd1640b37 (diff) | |
download | vimperator-plugins-3b2e7a2b20f909e2d2fdeef0d49b834c6c115fb1.tar.bz2 |
fix "TypeError: ['@@iterator'] is not a function" on Firefox 34
Diffstat (limited to 'asdfghjkl.js')
-rw-r--r-- | asdfghjkl.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asdfghjkl.js b/asdfghjkl.js index 1f48516..7826a48 100644 --- a/asdfghjkl.js +++ b/asdfghjkl.js @@ -98,7 +98,7 @@ let PLUGIN_INFO = xml` function around (obj, name, func) { let next = obj[name]; obj[name] = function () - let (self = this, args = arguments) + let (self = this, args = Array.from(arguments)) func.call(self, function () next.apply(self, args), args); |