diff options
author | yukim | 2014-12-03 01:55:29 +0900 |
---|---|---|
committer | yukim | 2014-12-03 01:55:29 +0900 |
commit | 0d4ec6d7477e52334cb38711da696c8774af5ebd (patch) | |
tree | 9d2be3465b2849aaf9b97daaeaf3298a68f60b86 /_libly.js | |
parent | 5f453ebc33c7c5263af703d24d4221d44c2b36b8 (diff) | |
download | vimperator-plugins-0d4ec6d7477e52334cb38711da696c8774af5ebd.tar.bz2 |
fix "TypeError: ['@@iterator'] is not a function" on Firefox 34
Diffstat (limited to '_libly.js')
-rw-r--r-- | _libly.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -280,7 +280,7 @@ libly.$U = {//{{{ } original = obj[name]; let current = obj[name] = function () { - let self = this, args = arguments; + let self = this, args = Array.from(arguments); return func.call(self, function (_args) original.apply(self, _args || args), args); }; libly.$U.extend(current, {original: original && original.original || original, restore: restore}); |