1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

Merge pull request #2487 from daiyam/fix-task-config

fix error generated by toggling split editor
This commit is contained in:
Junyoung Choi (Sai)
2018-10-23 18:30:41 +09:00
committed by GitHub
4 changed files with 5 additions and 9 deletions

View File

@@ -21,7 +21,7 @@ function createGutter (str, firstLineNumber) {
class Markdown {
constructor (options = {}) {
let config = ConfigManager.get()
const config = ConfigManager.get()
const defaultOptions = {
typographer: config.preview.smartQuotes,
linkify: true,
@@ -265,9 +265,6 @@ class Markdown {
}
// FIXME We should not depend on global variable.
window.md = this.md
this.updateConfig = () => {
config = ConfigManager.get()
}
}
render (content) {