diff --git a/docs/assets/js/common.js b/docs/assets/js/common.js index a655139b1..26aac5ac4 100644 --- a/docs/assets/js/common.js +++ b/docs/assets/js/common.js @@ -108,7 +108,7 @@ } function runExample(name) { - fetch(`./assets/example/${name}.js`) + fetch('./assets/example/' + name + '.js') .then(function (response) { return response.text(); }) @@ -150,9 +150,9 @@ var code = mirror.getValue(); eval(code); initArt(Artplayer.instances[0]); - console.debug(`Artplayer@${Artplayer.version}`); - console.debug(`Env@${Artplayer.env}`); - console.debug(`Build@${formatDate(Artplayer.build)}`); + console.debug('Artplayer@' + Artplayer.version); + console.debug('Env@' + Artplayer.env); + console.debug('Build@' + formatDate(Artplayer.build)); } function initApp() { diff --git a/docs/index.html b/docs/index.html index 064275cea..d5489d89a 100644 --- a/docs/index.html +++ b/docs/index.html @@ -67,13 +67,17 @@