src/accessors.js
/**
  * Get defaults for the config accessor section
  *
  * @param object The incomplete user specified accessor cfg
  * @return a complete accessor cfg
  */
Get defaults for the config accessor section
@param object The incomplete user specified accessor cfg
@return a complete accessor cfg
Get defaults for the config accessor section @param object The incomplete user specified accessor cfg @return a complete accessor cfg
resolveCfg(v) {
    let cfg = {type:"linear", range:"-height"};
    let keys = Object.keys(v);
    keys.forEach((k, i) => {
      let c = JSON.parse(JSON.stringify(cfg));
      v[k] = this.h.mergeDeep(c, v[k]);
    });
    return v;
  }
resolveCfg ( v ) { let cfg = { type : "linear" , range : "-height" } ; let keys = Object . keys ( v ) ; keys . forEach ( ( k , i ) => { let c = JSON . parse ( JSON . stringify ( cfg ) ) ; v [ k ] = this . h . mergeDeep ( c , v [ k ] ) ; } ) ; return v ; }
Get defaults for the config accessor section
 @param object The incomplete user specified accessor cfg
 @return a complete accessor cfg
Get defaults for the config accessor section @param object The incomplete user specified accessor cfg @return a complete accessor cfg