src/base/component.js
function _mapOne(name) {
      const parts = name.split(".");
      let current = _this.parent.model;
      let current_name = "";
      while (parts.length) {
        current_name = parts.shift();
        current = current[current_name];
      }
      return {
        name,
        model: current,
        type: current ? current.getType() : null
      };
    }
function _mapOne(name) {
      const parts = name.split(".");
      let current = _this.parent.model;
      let current_name = "";
      while (parts.length) {
        current_name = parts.shift();
        current = current[current_name];
      }
      return {
        name,
        model: current,
        type: current ? current.getType() : null
      };
    }
function _mapOne ( name ) { const parts = name . split ( "." ) ; let current = _this . parent . model ; let current_name = "" ; while ( parts . length ) { current_name = parts . shift ( ) ; current = current [ current_name ] ; } return { name , model : current , type : current ? current . getType ( ) : null } ; }
Maps one model name to current submodel and returns info
@param {String} name Full model path. E.g.: "state.marker.color"
@returns {Object} the model info, with name and the actual model
Maps one model name to current submodel and returns info