mirror of
https://github.com/zotero/zotero.git
synced 2026-10-07 02:58:09 +00:00
Scaffold: Don't warn about \u2028/\u2029 in tests
This commit is contained in:
parent
e80615eab8
commit
56b4c15de9
1 changed files with 5 additions and 1 deletions
|
|
@ -136,7 +136,11 @@ var Scaffold = new function () {
|
|||
_editors.codeGlobal = monaco;
|
||||
_editors.code = editor;
|
||||
}),
|
||||
testsWin.loadMonaco({ language: 'json' }).then(({ monaco, editor }) => {
|
||||
testsWin.loadMonaco({
|
||||
language: 'json',
|
||||
// Tests might contain \u2028/\u2029 - don't pop up a warning
|
||||
unusualLineTerminators: 'off',
|
||||
}).then(({ monaco, editor }) => {
|
||||
_editors.testsGlobal = monaco;
|
||||
_editors.tests = editor;
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue