mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-28 04:00:47 +00:00
Fix linting
This commit is contained in:
parent
61a60c04a6
commit
94b7cdcae0
1 changed files with 2 additions and 2 deletions
|
@ -1,10 +1,10 @@
|
|||
import CodeMirror, { Doc } from 'codemirror'
|
||||
|
||||
export function init(rootEl) {
|
||||
export function init (rootEl) {
|
||||
return CodeMirror(rootEl)
|
||||
}
|
||||
|
||||
export function openDoc(cm, content) {
|
||||
export function openDoc (cm, content) {
|
||||
const newDoc = Doc(content)
|
||||
cm.swapDoc(newDoc)
|
||||
return newDoc
|
||||
|
|
Loading…
Reference in a new issue