Skip to content

Commit

Permalink
copy instead of clone for merge
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed Aug 27, 2010
1 parent 9cffe15 commit 4fcece2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/hash.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function Hash (hash, extra) {
return self;
},
merge : function (h) {
return self.clone.update(h);
return self.copy.update(h);
},
tap : function (f) {
f.call(self, hash);
Expand Down

0 comments on commit 4fcece2

Please sign in to comment.