[FIX] web_editor: various levels of broken in docstrings

This commit is contained in:
Xavier Morel
2019-02-18 08:55:57 +00:00
parent cca26f7952
commit 3f8d20b778
3 changed files with 2 additions and 7 deletions
@@ -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) {
@@ -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;
@@ -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;