| Index: sky/examples/radio.sky
|
| diff --git a/sky/examples/radio.sky b/sky/examples/radio.sky
|
| index b5b139bb73077df61b3563f2c53c36c89139f0b2..cb39cdb0d71dd994e2461c5710959e67cc035515 100644
|
| --- a/sky/examples/radio.sky
|
| +++ b/sky/examples/radio.sky
|
| @@ -20,7 +20,7 @@ SKY MODULE - radio button and radio button group
|
| constructor (module) {
|
| super(module);
|
| this.addEventListener('click', (event) => this.checked = true);
|
| - this.shadowRoot.appendChild(module.document.findId('radio-shadow').content.cloneNode(true));
|
| + this.shadowRoot.append(module.document.findId('radio-shadow').content.cloneNode(true));
|
| }
|
| get checked () {
|
| return this.hasAttribute('checked');
|
| @@ -59,7 +59,7 @@ SKY MODULE - radio button and radio button group
|
| constructor: (class extends Element {
|
| constructor (module) {
|
| super(module);
|
| - this.shadowRoot.appendChild(module.document.findId('radiogroup-shadow').content.cloneNode(true));
|
| + this.shadowRoot.append(module.document.findId('radiogroup-shadow').content.cloneNode(true));
|
| }
|
| get value () {
|
| let children = this.getChildNodes();
|
|
|