1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00

Change 'var' to 'const'.

This commit is contained in:
paalon
2017-12-02 12:55:10 +09:00
parent ca4b8224fd
commit 1ac31264b7

View File

@@ -6,7 +6,7 @@ import ConfigManager from 'browser/main/lib/ConfigManager'
// FIXME We should not depend on global variable.
const katex = window.katex
var config = ConfigManager.get()
const config = ConfigManager.get()
function createGutter (str) {
const lc = (str.match(/\n/g) || []).length