_chainResult.js 246 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 define(['./underscore'], function (underscore) { // Helper function to continue chaining intermediate results. function chainResult(instance, obj) { return instance._chain ? underscore(obj).chain() : obj; } return chainResult; });