diff --git a/clientonly/index.js b/clientonly/index.js index bfde722e..88454d93 100644 --- a/clientonly/index.js +++ b/clientonly/index.js @@ -35,7 +35,8 @@ /** * Gets the config from the specified server url * - * @param {string} url location where the server is running + * @param {string} url location where the server is running. + * * @returns {Promise} the config */ function getServerConfig(url) { diff --git a/js/module.js b/js/module.js index 0148a2d9..8bb5990e 100644 --- a/js/module.js +++ b/js/module.js @@ -345,7 +345,6 @@ var Module = Class.extend({ * @param {string} key The key of the string to translate * @param {string|object} [defaultValueOrVariables] The default value or variables for translating. * @param {string} [defaultValue] The default value with variables. - * * @returns {string} the translated key */ translate: function (key, defaultValueOrVariables, defaultValue) { @@ -477,7 +476,6 @@ Module.register = function (name, moduleDefinition) { * * @param {string} a Version number a. * @param {string} b Version number b. - * * @returns {number} A positive number if a is larger than b, a negative * number if a is smaller and 0 if they are the same */ diff --git a/js/translator.js b/js/translator.js index eb1482ae..0f4bc00a 100644 --- a/js/translator.js +++ b/js/translator.js @@ -37,7 +37,6 @@ var Translator = (function () { * @param {Module} module The module to load the translation for. * @param {string} key The key of the text to translate. * @param {object} variables The variables to use within the translation template (optional) - * * @returns {string} the translated key */ translate: function (module, key, variables) { @@ -51,7 +50,6 @@ var Translator = (function () { * * @param {string} template Text with placeholder * @param {object} variables Variables for the placeholder - * * @returns {string} the template filled with the variables */ function createStringFromTemplate(template, variables) {