37b8033f by Michael Richards

Compile changes made in pull #7.

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