dist/bundle.js
/**
   * removeRegion deletes a region from a Bowlcut wordmark
   * @param {Object} region the region to delete
   */
removeRegion deletes a region from a Bowlcut wordmark
@param {Object} region the region to delete
removeRegion deletes a region from a Bowlcut wordmark @param { Object } region the region to delete
function removeRegion(region) {
    let regionIndex = wordmark.regions.findIndex((someRegion) => {
      return someRegion.uniqueId == region.uniqueId;
    });
    if (regionIndex > -1) {
      wordmark.regions.splice(regionIndex, 1);
    }
    else {
      console.error('Couldn\'t find region to delete.');
    }
  }
function removeRegion ( region ) { let regionIndex = wordmark . regions . findIndex ( ( someRegion ) => { return someRegion . uniqueId == region . uniqueId ; } ) ; if ( regionIndex > - 1 ) { wordmark . regions . splice ( regionIndex , 1 ) ; } else { console . error ( 'Couldn\'t find region to delete.' ) ; } }
removeRegion deletes a region from a Bowlcut wordmark
 @param {Object} region the region to delete
removeRegion deletes a region from a Bowlcut wordmark @param { Object } region the region to delete