reloading notes after script changes

This commit is contained in:
zadam
2019-10-20 12:29:34 +02:00
parent 78f5b7b288
commit 2305ad7405
21 changed files with 115 additions and 82 deletions

View File

@@ -29,8 +29,8 @@
async function validatorJavaScript(text, options) {
if (glob.isMobile()
|| glob.getActiveNote() == null
|| glob.getActiveNote().mime === 'application/json') {
|| glob.getActiveTabNote() == null
|| glob.getActiveTabNote().mime === 'application/json') {
// eslint doesn't seem to validate pure JSON well
return [];
}