src/model/schema.js
// without it is returned. Otherwise, the input set is returned.
without it is returned. Otherwise, the input set is returned.
without it is returned . Otherwise the input set is returned .
removeFromSet(set) {
    for (var i = 0; i < set.length; i++)
      if (set[i].type == this)
        return set.slice(0, i).concat(set.slice(i + 1))
    return set
  }
removeFromSet ( set ) { for ( var i = 0 ; i < set . length ; i ++ ) if ( set [ i ] . type == this ) return set . slice ( 0 , i ) . concat ( set . slice ( i + 1 ) ) return set }
without it is returned.
without it is returned .