From 3810442139ac7dabdc10e39862e31d2911377535 Mon Sep 17 00:00:00 2001 From: Jagua Date: Mon, 15 Dec 2014 22:36:07 +0900 Subject: for Firefox less than 31 --- _libly.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '_libly.js') 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}); -- cgit v1.2.3