37b8033f by Michael Richards

Compile changes made in pull #7.

1 parent 74db87eb
......@@ -168,7 +168,11 @@
unselected: stateBinding('selected', true),
enabled: stateBinding('disabled', true),
text: function(el, value) {
return el.innerText = value || '';
if (el.innerText != null) {
return el.innerText = value || '';
} else {
return el.textContent = value || '';
}
},
html: function(el, value) {
return el.innerHTML = value || '';
......