source:
frontend/node_modules/underscore/cjs/chain.js
| Last change on this file was 9af201e, checked in by , 11 days ago | |
|---|---|
|
|
| File size: 221 bytes | |
| Line | |
|---|---|
| 1 | var underscore = require('./underscore.js'); |
| 2 | |
| 3 | // Start chaining a wrapped Underscore object. |
| 4 | function chain(obj) { |
| 5 | var instance = underscore(obj); |
| 6 | instance._chain = true; |
| 7 | return instance; |
| 8 | } |
| 9 | |
| 10 | module.exports = chain; |
Note:
See TracBrowser
for help on using the repository browser.
