mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-11 06:10:03 +08:00
Ran eslint fix on existing codebase
Had to do some manual fixing of the app.js file due to misplaced comments
This commit is contained in:
@ -1,10 +1,9 @@
|
||||
import {Markdown} from "./markdown";
|
||||
import {Display} from "./display";
|
||||
import {Actions} from "./actions";
|
||||
import {Settings} from "./settings";
|
||||
import {listen} from "./common-events";
|
||||
import {init as initCodemirror} from "./codemirror";
|
||||
|
||||
import {Markdown} from './markdown';
|
||||
import {Display} from './display';
|
||||
import {Actions} from './actions';
|
||||
import {Settings} from './settings';
|
||||
import {listen} from './common-events';
|
||||
import {init as initCodemirror} from './codemirror';
|
||||
|
||||
/**
|
||||
* Initiate a new markdown editor instance.
|
||||
@ -12,7 +11,6 @@ import {init as initCodemirror} from "./codemirror";
|
||||
* @returns {Promise<MarkdownEditor>}
|
||||
*/
|
||||
export async function init(config) {
|
||||
|
||||
/**
|
||||
* @type {MarkdownEditor}
|
||||
*/
|
||||
@ -31,7 +29,6 @@ export async function init(config) {
|
||||
return editor;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @typedef MarkdownEditorConfig
|
||||
* @property {String} pageId
|
||||
@ -51,4 +48,4 @@ export async function init(config) {
|
||||
* @property {Actions} actions
|
||||
* @property {EditorView} cm
|
||||
* @property {Settings} settings
|
||||
*/
|
||||
*/
|
||||
|
Reference in New Issue
Block a user