From d93cba5581e3092d29a3299dcb25891adfad2799 Mon Sep 17 00:00:00 2001 From: Asvin Goel Date: Mon, 4 Oct 2021 12:48:42 +0200 Subject: [PATCH] var -> let --- plugin/highlight/plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/highlight/plugin.js b/plugin/highlight/plugin.js index e0c767a3..ae7fc4f3 100644 --- a/plugin/highlight/plugin.js +++ b/plugin/highlight/plugin.js @@ -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;