src/data.js
/**
  * Get defaults for the config data section
  *
  * @param object The incomplete user specified data cfg
  * @return a complete data cfg
  */
Get defaults for the config data section
@param object The incomplete user specified data cfg
@return a complete data cfg
Get defaults for the config data section @param object The incomplete user specified data cfg @return a complete data cfg
resolveCfg(v) {
    let cfg = {"name":"data-0"};
    v = v.map((data, i) => {
        let lcfg = JSON.parse(JSON.stringify(cfg));
        return this.h.mergeDeep(lcfg, data)
      });
    return v;
  }
resolveCfg ( v ) { let cfg = { "name" : "data-0" } ; v = v . map ( ( data , i ) => { let lcfg = JSON . parse ( JSON . stringify ( cfg ) ) ; return this . h . mergeDeep ( lcfg , data ) } ) ; return v ; }
Get defaults for the config data section
 @param object The incomplete user specified data cfg
 @return a complete data cfg
Get defaults for the config data section @param object The incomplete user specified data cfg @return a complete data cfg