1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-15 02:36:36 +00:00

remove unused method

This commit is contained in:
Baptiste Augrain
2018-10-11 15:09:26 +02:00
parent eb37be1381
commit 3c404f3678

View File

@@ -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) {