pull/1/head
yann300 7 years ago
parent 0b1be7f308
commit 40893f769f
  1. 8
      test-browser/helpers/applytestmode.js

@ -3,5 +3,11 @@
*
*/
console.log('applying test mode')
document.getElementById('input').editor.setBehavioursEnabled(false) // disable bracket auto-match (i.e. automatic injection of closing brackets and other things), so we can enter raw source code.
var editor = document.getElementById('input').editor
editor.setBehavioursEnabled(false) // disable bracket auto-match (i.e. automatic injection of closing brackets and other things), so we can enter raw source code.
editor.setOptions({
enableBasicAutocompletion: false,
enableSnippets: false,
enableLiveAutocompletion: false
})
console.log('test mode applied')

Loading…
Cancel
Save