Reduce the snippet returned from getMethodAssignments and avoid a possible infinite loop when removing dead vars.

Former-commit-id: 06b49c9ecdf0b279f7d81274d82a813488e9dd26
This commit is contained in:
John-David Dalton
2013-06-16 17:48:15 -07:00
parent 2473e87947
commit ef40a8a925
3 changed files with 178 additions and 125 deletions

View File

@@ -4386,6 +4386,9 @@
lodash.take = first;
lodash.head = first;
// add functions to `lodash.prototype`
mixin(lodash);
/*--------------------------------------------------------------------------*/
/**
@@ -4397,9 +4400,6 @@
*/
lodash.VERSION = '1.3.1';
// add functions to `lodash.prototype`
mixin(lodash);
// add "Chaining" functions to the wrapper
lodash.prototype.chain = wrapperChain;
lodash.prototype.value = wrapperValueOf;