|
136 | 136 |
|
137 | 137 | obj.initdom = function(rootnode){ |
138 | 138 |
|
139 | | - shadow = host.shadowRoot; |
| 139 | + shadow = host.shadowRoot; |
140 | 140 |
|
141 | | - var style = $(shadow,'style'); |
| 141 | + var style = $(shadow,'style'); |
142 | 142 | $.stylesheet.insert(style,'button','.icon'); |
143 | 143 |
|
144 | 144 |
|
145 | | - var hdr = $(shadow,'#hdr'); |
| 145 | + var hdr = $(shadow,'#hdr'); |
146 | 146 |
|
147 | | - chk['allow-scripts'] = $.chkbox(hdr,'#allow-scripts'); |
148 | | - chk['allow-modals'] = $.chkbox(hdr,'#allow-modals'); |
149 | | - chk['allow-popups'] = $.chkbox(hdr,'#allow-popups'); |
| 147 | + chk['allow-scripts'] = $.chkbox(hdr,'#allow-scripts'); |
| 148 | + chk['allow-modals'] = $.chkbox(hdr,'#allow-modals'); |
| 149 | + chk['allow-popups'] = $.chkbox(hdr,'#allow-popups'); |
150 | 150 |
|
151 | | - chk['console-show'] = $.chkbox(hdr,'#console-show',btn.show_console); |
152 | | - chk['console-echo'] = $.chkbox(hdr,'#console-echo'); |
153 | | - chk['console-persist'] = $.chkbox(hdr,'#console-persist'); |
154 | | - $('#console-clear').onclick = btn.clear_console; |
| 151 | + chk['console-show'] = $.chkbox(hdr,'#console-show',btn.show_console); |
| 152 | + chk['console-echo'] = $.chkbox(hdr,'#console-echo'); |
| 153 | + chk['console-persist'] = $.chkbox(hdr,'#console-persist'); |
| 154 | + $(shadow,'#console-clear').onclick = btn.clear_console; |
155 | 155 |
|
156 | | - $(hdr,'#kill').onclick = btn.kill; |
| 156 | + $(hdr,'#kill').onclick = btn.kill; |
157 | 157 |
|
158 | 158 |
|
159 | | - hldr = $(shadow,'#hldr'); |
160 | | - iframe = $(shadow,'iframe'); |
161 | | - def_sandbox = iframe.getAttribute('sandbox'); |
162 | | - glass = $(shadow,'#glass'); |
| 159 | + hldr = $(shadow,'#hldr'); |
| 160 | + iframe = $(shadow,'iframe'); |
| 161 | + def_sandbox = iframe.getAttribute('sandbox'); |
| 162 | + glass = $(shadow,'#glass'); |
163 | 163 |
|
164 | 164 |
|
165 | 165 | }//initdom |
|
0 commit comments