Skip to content

Commit

Permalink
Return this from addEach
Browse files Browse the repository at this point in the history
  • Loading branch information
kriskowal committed Nov 23, 2012
1 parent a3a8aeb commit 73a2d65
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions generic-collection.js
Expand Up @@ -21,6 +21,7 @@ GenericCollection.prototype.addEach = function (values) {
}, this);
}
}
return this;
};

GenericCollection.prototype.deleteEach = function (values) {
Expand Down
1 change: 1 addition & 0 deletions generic-map.js
Expand Up @@ -35,6 +35,7 @@ GenericMap.prototype.addEach = function (values) {
}, this);
}
}
return this;
}

GenericMap.prototype.get = function (key, defaultValue) {
Expand Down
1 change: 1 addition & 0 deletions shim-object.js
Expand Up @@ -236,6 +236,7 @@ Object.addEach = function (target, source) {
target[key] = source[key];
});
}
return target;
};

/**
Expand Down

0 comments on commit 73a2d65

Please sign in to comment.