Final var conversions

This commit is contained in:
rejas 2021-07-14 15:06:23 +02:00
parent 8a7abfe42d
commit 6b17f6aa28
3 changed files with 7 additions and 3 deletions

View File

@ -7,7 +7,7 @@
* By Michael Teeuw https://michaelteeuw.nl
* MIT Licensed.
*/
var Module = Class.extend({
const Module = Class.extend({
/*********************************************************
* All methods (and properties) below can be subclassed. *
*********************************************************/
@ -510,6 +510,8 @@ Module.register = function (name, moduleDefinition) {
Module.definitions[name] = moduleDefinition;
};
window.Module = Module;
/**
* Compare two semantic version numbers and return the difference.
*

View File

@ -6,7 +6,7 @@
* By Christopher Fenner https://github.com/CFenner
* MIT Licensed.
*/
var Translator = (function () {
const Translator = (function () {
/**
* Load a JSON file via XHR.
*
@ -151,3 +151,5 @@ var Translator = (function () {
}
};
})();
window.Translator = Translator;

View File

@ -5,7 +5,7 @@
* MIT Licensed.
*/
var translations = {
let translations = {
en: "translations/en.json", // English
nl: "translations/nl.json", // Dutch
de: "translations/de.json", // German