The vanilla alternative for writing JSX-based React applications
git clone git://soophie.de/figure
111
const event = match[1];112
attributes[`on${event.substring(0, 1).toUpperCase()}${event.substring(1)}`] = refs[ref];113
}114
else if((match = /^\[(\w+)\]$/.exec(key)) !== null) {115
const event = match[1];116
attributes['value'] = refs[ref];117
}118
else {119
attributes[key] = refs[ref];120
}