mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-05-10 00:58:40 +00:00
lint pass
This commit is contained in:
@@ -51,7 +51,7 @@ const emojiCompletionList = (context)=>{
|
|||||||
return {
|
return {
|
||||||
from : word.from + 1,
|
from : word.from + 1,
|
||||||
options,
|
options,
|
||||||
filter: false,
|
filter : false,
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ const Editor = createReactClass({
|
|||||||
componentDidMount : function() {
|
componentDidMount : function() {
|
||||||
|
|
||||||
const brewRenderer = document.getElementById('BrewRenderer');
|
const brewRenderer = document.getElementById('BrewRenderer');
|
||||||
brewRenderer.onload = () => brewRenderer.contentDocument?.addEventListener('keydown', this.handleControlKeys);
|
brewRenderer.onload = ()=>brewRenderer.contentDocument?.addEventListener('keydown', this.handleControlKeys);
|
||||||
document.addEventListener('keydown', this.handleControlKeys);
|
document.addEventListener('keydown', this.handleControlKeys);
|
||||||
|
|
||||||
const editorTheme = window.localStorage.getItem(EDITOR_THEME_KEY);
|
const editorTheme = window.localStorage.getItem(EDITOR_THEME_KEY);
|
||||||
|
|||||||
Reference in New Issue
Block a user