X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=node_modules%2Funcss%2Fnode_modules%2Flodash%2Finternal%2FLodashWrapper.js;fp=node_modules%2Funcss%2Fnode_modules%2Flodash%2Finternal%2FLodashWrapper.js;h=e1e918823bd755d2a498b0c667ac70c8e9e041bb;hp=0000000000000000000000000000000000000000;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad diff --git a/node_modules/uncss/node_modules/lodash/internal/LodashWrapper.js b/node_modules/uncss/node_modules/lodash/internal/LodashWrapper.js new file mode 100644 index 000000000..e1e918823 --- /dev/null +++ b/node_modules/uncss/node_modules/lodash/internal/LodashWrapper.js @@ -0,0 +1,22 @@ +var baseCreate = require('./baseCreate'), + baseLodash = require('./baseLodash'); + +/** + * The base constructor for creating `lodash` wrapper objects. + * + * @private + * @param {*} value The value to wrap. + * @param {boolean} [chainAll] Enable chaining for all wrapper methods. + */ +function LodashWrapper(value, chainAll) { + this.__wrapped__ = value; + this.__actions__ = []; + this.__chain__ = !!chainAll; + this.__index__ = 0; + this.__values__ = undefined; +} + +LodashWrapper.prototype = baseCreate(baseLodash.prototype); +LodashWrapper.prototype.constructor = LodashWrapper; + +module.exports = LodashWrapper;