aboutsummaryrefslogtreecommitdiffstats
path: root/_libly.js
diff options
context:
space:
mode:
authoranekos2014-12-24 17:27:38 +0900
committeranekos2014-12-24 17:27:38 +0900
commitd5015aba75424f27b83579ab983c1c3f393ebf3e (patch)
treec1a17e5ae3bc810127d430258291c2a1360c4fcf /_libly.js
parent6b4797c3f0fecdcaa3350e3baeeb918734aeb04b (diff)
parent1824cac7b64f4d8287fdb9abce51b533df368d9c (diff)
downloadvimperator-plugins-d5015aba75424f27b83579ab983c1c3f393ebf3e.tar.bz2
Merge remote-tracking branch 'origin/master'
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});