source:
frontend/node_modules/underscore/amd/_chainResult.js
| Last change on this file was 9af201e, checked in by , 11 days ago | |
|---|---|
|
|
| File size: 246 bytes | |
| Line | |
|---|---|
| 1 | define(['./underscore'], function (underscore) { |
| 2 | |
| 3 | // Helper function to continue chaining intermediate results. |
| 4 | function chainResult(instance, obj) { |
| 5 | return instance._chain ? underscore(obj).chain() : obj; |
| 6 | } |
| 7 | |
| 8 | return chainResult; |
| 9 | |
| 10 | }); |
Note:
See TracBrowser
for help on using the repository browser.
