diff options
Diffstat (limited to 'addons/web_editor/static/src/js')
3 files changed, 2 insertions, 7 deletions
diff --git a/addons/web_editor/static/src/js/wysiwyg/plugin/helper.js b/addons/web_editor/static/src/js/wysiwyg/plugin/helper.js index 68542d7a4f8..0fe576adf8e 100644 --- a/addons/web_editor/static/src/js/wysiwyg/plugin/helper.js +++ b/addons/web_editor/static/src/js/wysiwyg/plugin/helper.js @@ -125,7 +125,7 @@ var HelperPlugin = AbstractPlugin.extend({ * Returns the number of leading breakable space in the textNode. * Note: returns 0 if the node is not a textNode. * - * @param {Node} + * @param {Node} node */ countLeadingBreakableSpace: function (node) { if (!dom.isText(node)) { @@ -704,7 +704,7 @@ var HelperPlugin = AbstractPlugin.extend({ /** * Returns the node targeted by a path * - * @param {Object[]} list of object (tagName, offset) + * @param {Object[]} path list of object (tagName, offset) * @returns {Node} */ fromPath: function (path) { diff --git a/addons/web_editor/static/src/js/wysiwyg/wysiwyg_iframe.js b/addons/web_editor/static/src/js/wysiwyg/wysiwyg_iframe.js index 9de5c6b4cb7..be6ac41e5cb 100644 --- a/addons/web_editor/static/src/js/wysiwyg/wysiwyg_iframe.js +++ b/addons/web_editor/static/src/js/wysiwyg/wysiwyg_iframe.js @@ -193,10 +193,6 @@ Wysiwyg.include({ * * @param {Node} [DOM] * @returns {Object} - * @returns {Node} sc - start container - * @returns {Number} so - start offset - * @returns {Node} ec - end container - * @returns {Number} eo - end offset */ Wysiwyg.getRange = function (DOM) { var summernote = (DOM.defaultView || DOM.ownerDocument.defaultView)._summernoteSlave || _summernoteMaster; diff --git a/addons/web_editor/static/src/js/wysiwyg_snippets/wysiwyg_snippets.js b/addons/web_editor/static/src/js/wysiwyg_snippets/wysiwyg_snippets.js index 5df48ebf2f9..f88ae46376f 100644 --- a/addons/web_editor/static/src/js/wysiwyg_snippets/wysiwyg_snippets.js +++ b/addons/web_editor/static/src/js/wysiwyg_snippets/wysiwyg_snippets.js @@ -50,7 +50,6 @@ Wysiwyg.include({ * snippets can by url begin with '/' or an view xml_id. * * @override - * @param {string} [options.snippets] */ start: function () { var self = this; |
