function parseString( str ) {
var res = {};
var lineList = str.split("\n");
for ( var i = 0, line; typeof(line = lineList[i++]) == 'string'; ) {
if ( /^\s*$/.test( line ) ) { continue; }
var lineSplit = line.split("=");
if ( "1" in lineSplit ) {
res[ lineSplit[0] ] = lineSplit[1];
}
}
return res;
}