Add _.chain tests and ensure they pass.

Former-commit-id: e365b65da8a740383c975c7b904ad2156d1cc8ab
This commit is contained in:
John-David Dalton
2013-05-14 22:48:34 -07:00
parent fdc9d5f1fd
commit ee1933389a
9 changed files with 51 additions and 24 deletions

View File

@@ -5394,7 +5394,6 @@
lodash.zipObject = zipObject;
// add aliases
lodash.chain = lodash;
lodash.collect = map;
lodash.drop = rest;
lodash.each = forEach;
@@ -5405,6 +5404,10 @@
lodash.tail = rest;
lodash.unique = uniq;
// add chain compat
lodash.chain = lodash;
lodash.prototype.chain = function() { return this; };
// add functions to `lodash.prototype`
mixin(lodash);