File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -116,10 +116,6 @@ function setInitialProperties(
116
116
if ( propName === CHILDREN ) {
117
117
if ( type === 'style' ) {
118
118
domElement . innerHTML = propValue ;
119
- } else if ( typeof propValue === 'string' ) {
120
- if ( propValue !== '' ) domElement . textContent = propValue ;
121
- } else if ( typeof propValue === 'number' ) {
122
- domElement . textContent = `${ propValue } ` ;
123
119
}
124
120
} else if ( propName === DATAITEM ) {
125
121
if ( propValue instanceof DataItem ) {
@@ -248,8 +244,6 @@ function updateProperties(
248
244
if ( propName === CHILDREN ) {
249
245
if ( type === 'style' ) {
250
246
domElement . innerHTML = propValue ;
251
- } else {
252
- domElement . textContent = propValue ;
253
247
}
254
248
} else if ( propName === DATAITEM ) {
255
249
if ( propValue == null ) {
You can’t perform that action at this time.
0 commit comments