UNPKG

react_ujs

Version:

Rails UJS for the react-rails gem

15 lines (12 loc) 491 B
var baseForOwnRight = require('./_baseForOwnRight'), createBaseEach = require('./_createBaseEach'); /** * The base implementation of `_.forEachRight` without support for iteratee shorthands. * * @private * @param {Array|Object} collection The collection to iterate over. * @param {Function} iteratee The function invoked per iteration. * @returns {Array|Object} Returns `collection`. */ var baseEachRight = createBaseEach(baseForOwnRight, true); module.exports = baseEachRight;