www/app/components/movement/movementFactory.js
/**
     * @name _getMovementsCollectionWithoutOne
     * Get an movement's collection without one specified by ID.
     * @param {object} param Object with movements collection and
     *                 movement id to remove.
     * @returns {array<Movement>}
     */
@name _getMovementsCollectionWithoutOne
Get an movement's collection without one specified by ID.
@param {object} param Object with movements collection and
movement id to remove.
@returns {array}
@name _getMovementsCollectionWithoutOne Get an movement ' s collection without one specified by ID . @param { object } param Object with movements collection and movement id to remove . @returns { array }
function _getMovementsCollectionWithoutOne(movements, movementId) {
      return _.reject(movements, function (movement) {
        return movement.id === movementId;
      });
    }
function _getMovementsCollectionWithoutOne ( movements , movementId ) { return _ . reject ( movements , function ( movement ) { return movement . id === movementId ; } ) ; }
@name _getMovementsCollectionWithoutOne
 Get an movement's collection without one specified by ID.
@name _getMovementsCollectionWithoutOne Get an movement ' s collection without one specified by ID .