7fife-backend/node_modules/underscore/cjs/chain.js

11 lines
221 B
JavaScript

var underscore = require('./underscore.js');
// Start chaining a wrapped Underscore object.
function chain(obj) {
var instance = underscore(obj);
instance._chain = true;
return instance;
}
module.exports = chain;