From c07204e4a26bc7a45997e1b47c9003bc475ce59d Mon Sep 17 00:00:00 2001 From: PHO Date: Fri, 30 Jan 2015 17:31:36 +0900 Subject: [PATCH] Auto commit by The Sugar System. --- dot-files/_vimperator/plugin/_libly_js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}); -- 2.40.0