Set constructor of lodash.prototype.

This commit is contained in:
John-David Dalton
2016-02-29 00:02:13 -08:00
parent 548fe881d6
commit c10146e2f0

View File

@@ -14462,6 +14462,7 @@
// Ensure wrappers are instances of `baseLodash`.
lodash.prototype = baseLodash.prototype;
lodash.prototype.constructor = lodash;
LodashWrapper.prototype = baseCreate(baseLodash.prototype);
LodashWrapper.prototype.constructor = LodashWrapper;