jenkins-bot has submitted this change and it was merged.

Change subject: ce.ContentBranchNode: Clean up documentation
......................................................................


ce.ContentBranchNode: Clean up documentation

Correct name of event onChildUpdate listens to, and remove
useless @see tags.

Change-Id: I27f70a77595d69d2c18bd08e497ed5b857d5a811
---
M src/ce/ve.ce.ContentBranchNode.js
1 file changed, 2 insertions(+), 8 deletions(-)

Approvals:
  Krinkle: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/src/ce/ve.ce.ContentBranchNode.js 
b/src/ce/ve.ce.ContentBranchNode.js
index d984aea..1e48e32 100644
--- a/src/ce/ve.ce.ContentBranchNode.js
+++ b/src/ce/ve.ce.ContentBranchNode.js
@@ -97,7 +97,7 @@
 };
 
 /**
- * Handle splice events.
+ * Handle childUpdate events.
  *
  * Rendering is only done once per transaction. If a paragraph has multiple 
nodes in it then it's
  * possible to receive multiple `childUpdate` events for a single transaction 
such as annotating
@@ -105,7 +105,6 @@
  * history.
  *
  * This is used to automatically render contents.
- * @see ve.ce.BranchNode#onSplice
  *
  * @method
  */
@@ -118,12 +117,7 @@
 };
 
 /**
- * Handle splice events.
- *
- * This is used to automatically render contents.
- * @see ve.ce.BranchNode#onSplice
- *
- * @method
+ * @inheritdoc
  */
 ve.ce.ContentBranchNode.prototype.onSplice = function ( index, howmany ) {
        // Parent method

-- 
To view, visit https://gerrit.wikimedia.org/r/203471
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I27f70a77595d69d2c18bd08e497ed5b857d5a811
Gerrit-PatchSet: 1
Gerrit-Project: VisualEditor/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Catrope <[email protected]>
Gerrit-Reviewer: Krinkle <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to