]> gitweb @ CieloNegro.org - sugar.git/commitdiff
Auto commit by The Sugar System.
authorPHO <pho@cielonegro.org>
Fri, 30 Jan 2015 08:31:36 +0000 (17:31 +0900)
committerPHO <pho@cielonegro.org>
Fri, 30 Jan 2015 08:31:36 +0000 (17:31 +0900)
dot-files/_vimperator/plugin/_libly_js

index be989d7266f66a0a7ea9c5c42cb602f752e2aa78..51035bf78aff872af7c5ae7543c16eae7d152b77 100644 (file)
@@ -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});