[FIX] web_editor: various levels of broken in docstrings
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user