Run eslint over files, see what gets fixed automatically and clean up

This commit is contained in:
rejas 2020-07-27 14:24:30 +02:00
parent f4eae72c48
commit 43bcf4ab98
11 changed files with 72 additions and 24 deletions

View file

@ -157,7 +157,7 @@ var Module = Class.extend({
/** nunjucksEnvironment()
* Returns the nunjucks environment for the current module.
* The environment is checked in the _nunjucksEnvironment instance variable.
* @returns Nunjucks Environment
*/
nunjucksEnvironment: function () {
@ -451,11 +451,13 @@ Module.create = function (name) {
return new ModuleClass();
};
/* cmpVersions(a,b)
/**
* Compare two semantic version numbers and return the difference.
*
* argument a string - Version number a.
* argument a string - Version number b.
* @param {string} a Version number a.
* @param {string} b Version number b.
*
* @returns {number}
*/
function cmpVersions(a, b) {
var i, diff;