mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-15 02:36:36 +00:00
remove unused method
This commit is contained in:
@@ -21,7 +21,7 @@ function createGutter (str, firstLineNumber) {
|
|||||||
|
|
||||||
class Markdown {
|
class Markdown {
|
||||||
constructor (options = {}) {
|
constructor (options = {}) {
|
||||||
let config = ConfigManager.get()
|
const config = ConfigManager.get()
|
||||||
const defaultOptions = {
|
const defaultOptions = {
|
||||||
typographer: config.preview.smartQuotes,
|
typographer: config.preview.smartQuotes,
|
||||||
linkify: true,
|
linkify: true,
|
||||||
@@ -265,9 +265,6 @@ class Markdown {
|
|||||||
}
|
}
|
||||||
// FIXME We should not depend on global variable.
|
// FIXME We should not depend on global variable.
|
||||||
window.md = this.md
|
window.md = this.md
|
||||||
this.updateConfig = () => {
|
|
||||||
config = ConfigManager.get()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
render (content) {
|
render (content) {
|
||||||
|
|||||||
Reference in New Issue
Block a user