src/getEaseForKeyFrame.js
function getEaseType(type){
  switch(type) {
    case KeyframeInterpolationType.BEZIER:
      return EASE_TYPE.BEZIER;
    break;

    case KeyframeInterpolationType.LINEAR:
      return EASE_TYPE.LINEAR;
    break;

    case KeyframeInterpolationType.HOLD:
      return EASE_TYPE.HOLD;
    break;

    default:
      throw new Error('unknown ease type');
    break;
  }
}
function getEaseType(type){
  switch(type) {
    case KeyframeInterpolationType.BEZIER:
      return EASE_TYPE.BEZIER;
    break;

    case KeyframeInterpolationType.LINEAR:
      return EASE_TYPE.LINEAR;
    break;

    case KeyframeInterpolationType.HOLD:
      return EASE_TYPE.HOLD;
    break;

    default:
      throw new Error('unknown ease type');
    break;
  }
}
function getEaseType ( type ) { switch ( type ) { case KeyframeInterpolationType . BEZIER : return EASE_TYPE . BEZIER ; break ; case KeyframeInterpolationType . LINEAR : return EASE_TYPE . LINEAR ; break ; case KeyframeInterpolationType . HOLD : return EASE_TYPE . HOLD ; break ; default : throw new Error ( 'unknown ease type' ) ; break ; } }
get ease type
get ease type