mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
Change 'var' to 'const'.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user