aboutsummaryrefslogtreecommitdiffstats
path: root/_libly.js
diff options
context:
space:
mode:
authorJagua2014-12-15 22:36:07 +0900
committerJagua2014-12-15 22:36:07 +0900
commit3810442139ac7dabdc10e39862e31d2911377535 (patch)
tree3bdff49b9fd60ff6af5718654d830471ee76dd4e /_libly.js
parent5ea49671ec900d74aadc50a4df4414dcc6a187fb (diff)
downloadvimperator-plugins-3810442139ac7dabdc10e39862e31d2911377535.tar.bz2
for Firefox less than 31
Diffstat (limited to '_libly.js')
-rw-r--r--_libly.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/_libly.js b/_libly.js
index 9626b54..51035bf 100644
--- a/_libly.js
+++ b/_libly.js
@@ -280,7 +280,7 @@ libly.$U = {//{{{
}
original = obj[name];
let current = obj[name] = function () {
- let self = this, args = Array.from(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});