jenkins-bot has submitted this change and it was merged.
Change subject: Document config options as @cfg
......................................................................
Document config options as @cfg
Change-Id: I9a859bb81375f05ad359039043dd0a745bec499c
---
M src/ce/ve.ce.ResizableNode.js
1 file changed, 4 insertions(+), 4 deletions(-)
Approvals:
Catrope: Looks good to me, approved
jenkins-bot: Verified
diff --git a/src/ce/ve.ce.ResizableNode.js b/src/ce/ve.ce.ResizableNode.js
index 37b34c7..2d6ea72 100644
--- a/src/ce/ve.ce.ResizableNode.js
+++ b/src/ce/ve.ce.ResizableNode.js
@@ -13,10 +13,10 @@
* @constructor
* @param {jQuery} [$resizable=this.$element] Resizable DOM element
* @param {Object} [config] Configuration options
- * @param {number|null} [config.snapToGrid=10] Snap to a grid of size X when
the shift key is held. Null disables.
- * @param {boolean} [config.outline=false] Resize using an outline of the
element only, don't live preview.
- * @param {boolean} [config.showSizeLabel=true] Show a label with the current
dimensions while resizing
- * @param {boolean} [config.showScaleLabel=true] Show a label with the current
scale while resizing
+ * @cfg {number|null} [snapToGrid=10] Snap to a grid of size X when the shift
key is held. Null disables.
+ * @cfg {boolean} [outline=false] Resize using an outline of the element only,
don't live preview.
+ * @cfg {boolean} [showSizeLabel=true] Show a label with the current
dimensions while resizing
+ * @cfg {boolean} [showScaleLabel=true] Show a label with the current scale
while resizing
*/
ve.ce.ResizableNode = function VeCeResizableNode( $resizable, config ) {
config = config || {};
--
To view, visit https://gerrit.wikimedia.org/r/198551
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I9a859bb81375f05ad359039043dd0a745bec499c
Gerrit-PatchSet: 3
Gerrit-Project: VisualEditor/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Esanders <[email protected]>
Gerrit-Reviewer: Catrope <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits