From d36f69f9de05af62bbd91194699fc8d562aa3286 Mon Sep 17 00:00:00 2001 From: Klaus Hartl Date: Sat, 10 Feb 2018 21:25:41 +0100 Subject: [PATCH] Pass on arguments without array'izing it --- src/js.cookie.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js.cookie.js b/src/js.cookie.js index cee563fc..18802c14 100644 --- a/src/js.cookie.js +++ b/src/js.cookie.js @@ -143,7 +143,7 @@ api.getJSON = function () { return api.apply({ json: true - }, [].slice.call(arguments)); + }, arguments); }; api.remove = function (key, attributes) { api(key, '', extend(attributes, {