1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-06 14:47:04 +02:00

var -> let

This commit is contained in:
Asvin Goel
2021-10-04 12:48:42 +02:00
parent cc1da8aee6
commit d93cba5581

View File

@@ -29,7 +29,7 @@ const Plugin = {
init: function( reveal ) { init: function( reveal ) {
// Read the plugin config options and provide fallbacks // 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.callback = typeof config.callback === 'function' ? config.callback : null;
config.highlightOnLoad = typeof config.highlightOnLoad === 'boolean' ? config.highlightOnLoad : true; config.highlightOnLoad = typeof config.highlightOnLoad === 'boolean' ? config.highlightOnLoad : true;
config.escapeHTML = typeof config.escapeHTML === 'boolean' ? config.escapeHTML : true; config.escapeHTML = typeof config.escapeHTML === 'boolean' ? config.escapeHTML : true;