src/components/animation.js
function () {
    var propType;

    // Route config type.
    propType = getPropertyType(this.el, this.data.property);
    if (isRawProperty(this.data) && this.data.type === TYPE_COLOR) {
      this.updateConfigForRawColor();
    } else if (propType === 'vec2' || propType === 'vec3' || propType === 'vec4') {
      this.updateConfigForVector();
    } else {
      this.updateConfigForDefault();
    }
  }
function () {
    var propType;

    // Route config type.
    propType = getPropertyType(this.el, this.data.property);
    if (isRawProperty(this.data) && this.data.type === TYPE_COLOR) {
      this.updateConfigForRawColor();
    } else if (propType === 'vec2' || propType === 'vec3' || propType === 'vec4') {
      this.updateConfigForVector();
    } else {
      this.updateConfigForDefault();
    }
  }
function ( ) { var propType ; // Route config type. propType = getPropertyType ( this . el , this . data . property ) ; if ( isRawProperty ( this . data ) && this . data . type === TYPE_COLOR ) { this . updateConfigForRawColor ( ) ; } else if ( propType === 'vec2' || propType === 'vec3' || propType === 'vec4' ) { this . updateConfigForVector ( ) ; } else { this . updateConfigForDefault ( ) ; } }
Update the config before each run.
Update the config before each run .