From 983d630153aad317f2c5a1a0377431d906410c43 Mon Sep 17 00:00:00 2001 From: Piotr Gawron <piotr.gawron@uni.lu> Date: Mon, 30 Apr 2018 14:51:16 +0200 Subject: [PATCH] JSdoc fix --- frontend-js/src/main/js/map/data/MapModel.js | 2 +- frontend-js/src/main/js/map/data/Project.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend-js/src/main/js/map/data/MapModel.js b/frontend-js/src/main/js/map/data/MapModel.js index 493b92847d..81a5dae53e 100644 --- a/frontend-js/src/main/js/map/data/MapModel.js +++ b/frontend-js/src/main/js/map/data/MapModel.js @@ -143,7 +143,7 @@ MapModel.prototype.getCompleteAliasById = function (id) { * @param id * identifier of the {@link Reaction} * @param {boolean} [complete] - * @returns {Promise<Reaction>| PromiseLike<Reaction>|Bluebird<Reaction>} by identifier + * @returns {Promise<Reaction>| PromiseLike<Reaction>} by identifier */ MapModel.prototype.getReactionById = function (id, complete) { var self = this; diff --git a/frontend-js/src/main/js/map/data/Project.js b/frontend-js/src/main/js/map/data/Project.js index 1326dd9c80..f9cd13aa7b 100644 --- a/frontend-js/src/main/js/map/data/Project.js +++ b/frontend-js/src/main/js/map/data/Project.js @@ -479,7 +479,7 @@ Project.prototype.getDataOverlayById = function (overlayId) { * Returns promise with list of elements pointing to the submap. * * @param {number} modelId id of the submap - * @returns {Bluebird} for a given overlay identifier + * @returns {Promise} for a given overlay identifier */ Project.prototype.getElementsPointingToSubmap = function (modelId) { var self = this; -- GitLab