From 3b2e7a2b20f909e2d2fdeef0d49b834c6c115fb1 Mon Sep 17 00:00:00 2001 From: yogevsyn Date: Sun, 14 Dec 2014 09:09:20 +0200 Subject: fix "TypeError: ['@@iterator'] is not a function" on Firefox 34 --- asdfghjkl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'asdfghjkl.js') 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); -- cgit v1.2.3