mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-28 04:02:12 +00:00
Final var conversions
This commit is contained in:
parent
8a7abfe42d
commit
6b17f6aa28
@ -7,7 +7,7 @@
|
|||||||
* By Michael Teeuw https://michaelteeuw.nl
|
* By Michael Teeuw https://michaelteeuw.nl
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
var Module = Class.extend({
|
const Module = Class.extend({
|
||||||
/*********************************************************
|
/*********************************************************
|
||||||
* All methods (and properties) below can be subclassed. *
|
* All methods (and properties) below can be subclassed. *
|
||||||
*********************************************************/
|
*********************************************************/
|
||||||
@ -510,6 +510,8 @@ Module.register = function (name, moduleDefinition) {
|
|||||||
Module.definitions[name] = moduleDefinition;
|
Module.definitions[name] = moduleDefinition;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
window.Module = Module;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Compare two semantic version numbers and return the difference.
|
* Compare two semantic version numbers and return the difference.
|
||||||
*
|
*
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* By Christopher Fenner https://github.com/CFenner
|
* By Christopher Fenner https://github.com/CFenner
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
var Translator = (function () {
|
const Translator = (function () {
|
||||||
/**
|
/**
|
||||||
* Load a JSON file via XHR.
|
* Load a JSON file via XHR.
|
||||||
*
|
*
|
||||||
@ -151,3 +151,5 @@ var Translator = (function () {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
})();
|
})();
|
||||||
|
|
||||||
|
window.Translator = Translator;
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var translations = {
|
let translations = {
|
||||||
en: "translations/en.json", // English
|
en: "translations/en.json", // English
|
||||||
nl: "translations/nl.json", // Dutch
|
nl: "translations/nl.json", // Dutch
|
||||||
de: "translations/de.json", // German
|
de: "translations/de.json", // German
|
||||||
|
Loading…
x
Reference in New Issue
Block a user