maxctrl/lib/create.js
// Converts a key=value string into an object
Converts a key=value string into an object
Converts a key = value string into an object
function to_obj(obj, value) {
  var pos = value.indexOf("=");
  obj[value.slice(0, pos)] = parseValue(value.slice(pos + 1));
  return obj;
}
function to_obj ( obj , value ) { var pos = value . indexOf ( "=" ) ; obj [ value . slice ( 0 , pos ) ] = parseValue ( value . slice ( pos + 1 ) ) ; return obj ; }
Converts a key=value string into an object
Converts a key = value string into an object