index.js
function (object) {
            var index = this.data.indexOf(object);
            if (index !== -1) {
                this.data.splice(index, 1);
            }
            this.eachMap(function (map, mapName) {
                this.removeObjectFromMap(mapName, object);
            });
            delete this.mapValues[object.id];
            return this;
        }
function (object) {
            var index = this.data.indexOf(object);
            if (index !== -1) {
                this.data.splice(index, 1);
            }
            this.eachMap(function (map, mapName) {
                this.removeObjectFromMap(mapName, object);
            });
            delete this.mapValues[object.id];
            return this;
        }
function ( object ) { var index = this . data . indexOf ( object ) ; if ( index !== - 1 ) { this . data . splice ( index , 1 ) ; } this . eachMap ( function ( map , mapName ) { this . removeObjectFromMap ( mapName , object ) ; } ) ; delete this . mapValues [ object . id ] ; return this ; }
Removes the object

@public
@param {Object} object
@return {Com}
Removes the object