API Docs for: 1.0

Class config

Class defined in: src/js/globals.js:34

Parameters of the program.

debug <Number>
src/js/globals.js:40

Debug mode:

  • 0 productive, no logs are displayed
  • 1 only fatal errors are displayed
  • 2 warnings and non-fatal errors are also displayed
  • 3 debug notes are also displayed

It is essential that the value is set to 0 in productive state to not obtain debug logs in the GUI!

prohibitOwnConsole <Boolean>
src/js/globals.js:66

This property set to true prohibits the use of an own console object in any case. If there is no browser console available and config.debug > 0, then the logs will be lost. This property is stronger than useOwnConsole, so if useOwnConsole == true, and prohibitOwnConsole == true, then the browser console is used (if available).

projectUrl <String>
src/js/globals.js:86

The URL where the user finds further information about the project

projectVersion <String>
src/js/globals.js:93

Version of the application

testFncOnInit <Boolean>
src/js/globals.js:79

If true, some functionality tests are executed when the application is started

useConsole <Boolean>
src/js/globals.js:55

Specifies, if an own console object (which prints to a HTML-DOM-Element) should be preferred against the browser's console object. (If the browser console is available; otherwise, an own console object is created, as long as config.prohibitOwnConsole doesn't prohibit this.)