Skip to content

Commit 5083c64

Browse files
committed
Group api related functions together
1 parent e7f7f5d commit 5083c64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/js.cookie.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,14 +156,14 @@
156156
json: true
157157
}, [].slice.call(arguments));
158158
};
159-
api.defaults = {};
160-
161159
api.remove = function (key, attributes) {
162160
api(key, '', extend(attributes, {
163161
expires: -1
164162
}));
165163
};
166164

165+
api.defaults = {};
166+
167167
api.withConverter = init;
168168

169169
return api;

0 commit comments

Comments
 (0)