Skip to content

Commit

Permalink
Pass on arguments without array'izing it
Browse files Browse the repository at this point in the history
  • Loading branch information
carhartl committed Feb 15, 2018
1 parent ef7873c commit d36f69f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js.cookie.js
Expand Up @@ -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, {
Expand Down

0 comments on commit d36f69f

Please sign in to comment.