Skip to content

Commit

Permalink
#3 Fix error code.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed May 21, 2017
1 parent 97ccdc6 commit 855152a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/cookie.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
var getKeys = Object.names || function (obj) {
var names = [],name = '';
for (name in obj) {
if (obj.hasOwnProperty(name)) names.push(name);
}
return names;
function getKeys(obj) {
var names = [],name = '';
for (name in obj) {
if (obj.hasOwnProperty(name)) names.push(name);
}
return names;
}
function isPlainObject(value) {
return !!value && Object.prototype.toString.call(value) === '[object Object]';
}
Expand Down

0 comments on commit 855152a

Please sign in to comment.