chain.js 221 B

12345678910
  1. var underscore = require('./underscore.js');
  2. // Start chaining a wrapped Underscore object.
  3. function chain(obj) {
  4. var instance = underscore(obj);
  5. instance._chain = true;
  6. return instance;
  7. }
  8. module.exports = chain;