add comments to variables

This commit is contained in:
khaydarov 2016-05-25 18:47:10 +03:00
parent ab00d85b54
commit 6b680f85ac

View file

@ -351,8 +351,8 @@ cEditor.content = {
currentNode : null,
/**
* @param caretOffset - caret offset
* @param focusedChildNode - focused child node
* @var {int} caretOffset - caret position in a text node.
* @var {Element} focusedChildNode - if block has several child nodes, we set child that is focused.
*/
caretOffset : null,
@ -388,9 +388,9 @@ cEditor.content = {
/**
* Creates Documnt Range and sets caret
* @param NodeElement - Changed Node.
* @param selectedNode - ChildNode before block modification
* @param caretOffset - caret offset before modification
* @param {Element} NodeElement - Changed Node.
* @param {Element} selectedNode - ChildNode before block modification
* @param {int} caretOffset - caret position in a text node
*/
setCaret : function(NodeElement, selectedNode = null, caretOffset = 0) {
@ -449,8 +449,6 @@ cEditor.content = {
return focused;
}
return null;
},