We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
var
1 parent 426b6f9 commit a5652cdCopy full SHA for a5652cd
htmlpreview.js
@@ -178,22 +178,22 @@
178
179
const loadCSS = function (data) {
180
if (data) {
181
- var style = document.createElement('style');
+ const style = document.createElement('style');
182
style.innerHTML = data;
183
document.head.appendChild(style);
184
}
185
};
186
187
const loadJS = function (data) {
188
189
- var script = document.createElement('script');
+ const script = document.createElement('script');
190
script.innerHTML = data;
191
document.body.appendChild(script);
192
193
194
195
const fetchProxy = function (url, options, i) {
196
- var proxy = [
+ const proxy = [
197
'', // try without proxy first
198
'https://api.codetabs.com/v1/proxy/?quest='
199
];
0 commit comments