Skip to content

Commit

Permalink
Object fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rauchg committed Jun 1, 2010
1 parent df876e3 commit 06769c4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/socket.io/util/object.js
Expand Up @@ -27,10 +27,8 @@ var mergeOne = function(source, key, current){
source[key] = exports.clone(current);
} else if (typeof current === 'object'){
if (typeof source[key] === 'object') {
// TODO what should object be? it doesn't exist in this file
object.merge(source[key], current);
}
else {
exports.merge(source[key], current);
} else {
source[key] = exports.clone(current);
}
} else {
Expand Down

0 comments on commit 06769c4

Please sign in to comment.