function parseModelAttributes (attrs, we) {
  if (!attrs) return {};

  let attr = {};

  for (let name in attrs) {
    attr[name] = clone(attrs[name]);
    attr[name].type = getModelTypeFromDefinition(attrs[name], we);
  }

  return attr;
}
function parseModelAttributes (attrs, we) {
  if (!attrs) return {};

  let attr = {};

  for (let name in attrs) {
    attr[name] = clone(attrs[name]);
    attr[name].type = getModelTypeFromDefinition(attrs[name], we);
  }

  return attr;
}
function parseModelAttributes ( attrs , we ) { if ( ! attrs ) return { } ; let attr = { } ; for ( let name in attrs ) { attr [ name ] = clone ( attrs [ name ] ) ; attr [ name ] . type = getModelTypeFromDefinition ( attrs [ name ] , we ) ; } return attr ; }
-- private methods:
-- private methods :