From: PHO Date: Fri, 30 Jan 2015 08:31:36 +0000 (+0900) Subject: Auto commit by The Sugar System. X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=c07204e4a26bc7a45997e1b47c9003bc475ce59d;p=sugar.git Auto commit by The Sugar System. --- diff --git a/dot-files/_vimperator/plugin/_libly_js b/dot-files/_vimperator/plugin/_libly_js index be989d7..51035bf 100644 --- a/dot-files/_vimperator/plugin/_libly_js +++ b/dot-files/_vimperator/plugin/_libly_js @@ -280,7 +280,7 @@ libly.$U = {//{{{ } original = obj[name]; let current = obj[name] = function () { - let self = this, args = arguments; + let self = this, args = Array.prototype.slice.call(arguments); return func.call(self, function (_args) original.apply(self, _args || args), args); }; libly.$U.extend(current, {original: original && original.original || original, restore: restore});