mirror of
https://gitlab.com/MrFry/moodle-test-userscript
synced 2025-04-01 20:22:48 +02:00
Removed set/get val
This commit is contained in:
@@ -116,7 +116,6 @@
|
|||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
// forcing pages for testing. unless you test, do not set these to true!
|
// forcing pages for testing. unless you test, do not set these to true!
|
||||||
const isDevel = false
|
const isDevel = false
|
||||||
setVal('ISDEVEL', isDevel)
|
|
||||||
const forcedMatchString = isDevel ? '' : ''
|
const forcedMatchString = isDevel ? '' : ''
|
||||||
// only one of these should be true for testing
|
// only one of these should be true for testing
|
||||||
const forceTestPage = isDevel && false
|
const forceTestPage = isDevel && false
|
||||||
@@ -146,7 +145,7 @@
|
|||||||
var elementUpdaterInterval = -1
|
var elementUpdaterInterval = -1
|
||||||
const overlayElemUpdateInterval = 2 // seconds
|
const overlayElemUpdateInterval = 2 // seconds
|
||||||
|
|
||||||
if (getVal('ISDEVEL')) {
|
if (isDevel) {
|
||||||
log('Moodle script running in developement mode!')
|
log('Moodle script running in developement mode!')
|
||||||
infoExpireTime = 1
|
infoExpireTime = 1
|
||||||
serverAdress = 'http://localhost:8080/'
|
serverAdress = 'http://localhost:8080/'
|
||||||
|
Reference in New Issue
Block a user