var -> let

edit
Asvin Goel 2021-10-04 12:48:42 +02:00
parent cc1da8aee6
commit d93cba5581
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ const Plugin = {
init: function( reveal ) {
// Read the plugin config options and provide fallbacks
var config = reveal.getConfig().highlight || {};
let config = reveal.getConfig().highlight || {};
config.callback = typeof config.callback === 'function' ? config.callback : null;
config.highlightOnLoad = typeof config.highlightOnLoad === 'boolean' ? config.highlightOnLoad : true;
config.escapeHTML = typeof config.escapeHTML === 'boolean' ? config.escapeHTML : true;