Bartosz Dziewoński has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332736 )

Change subject: ve.dm.TableMatrix: Indent ASCII-art comments
......................................................................

ve.dm.TableMatrix: Indent ASCII-art comments

Generated JSDuck documentation tries to parse these in unexpected way.
This should make them render as preformatted text.

Change-Id: Ie1b9c092783e436fdfe21d29bf72d0a743ca3a6b
---
M src/dm/ve.dm.TableMatrix.js
1 file changed, 11 insertions(+), 11 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/VisualEditor/VisualEditor 
refs/changes/36/332736/1

diff --git a/src/dm/ve.dm.TableMatrix.js b/src/dm/ve.dm.TableMatrix.js
index a029505..5fe7471 100644
--- a/src/dm/ve.dm.TableMatrix.js
+++ b/src/dm/ve.dm.TableMatrix.js
@@ -6,24 +6,24 @@
  *
  * Example:
  *
- * <table>
- *   <tr><td rowspan=2>1</td><td colspan=2>2</td><td rowspan=2 
colspan=2>3</td></tr>
- *   <tr><td>4</td><td>5</td></tr>
- * </table>
+ *   <table>
+ *     <tr><td rowspan=2>1</td><td colspan=2>2</td><td rowspan=2 
colspan=2>3</td></tr>
+ *     <tr><td>4</td><td>5</td></tr>
+ *   </table>
  *
  * Visually this table would look like:
  *
- *  -------------------
- * | 1 | 2     | 3     |
- * |   |-------|       |
- * |   | 4 | 5 |       |
- *  -------------------
+ *    -------------------
+ *   | 1 | 2     | 3     |
+ *   |   |-------|       |
+ *   |   | 4 | 5 |       |
+ *    -------------------
  *
  * The HTML model is sparse which makes it hard to read but also difficult to 
work with programmatically.
  * The corresponding TableCellMatrix would look like:
  *
- * | C[1] | C[2] | P[2] | C[3] | P[3] |
- * | P[1] | C[4] | C[5] | P[3] | P[3] |
+ *   | C[1] | C[2] | P[2] | C[3] | P[3] |
+ *   | P[1] | C[4] | C[5] | P[3] | P[3] |
  *
  * Where C[1] represents a Cell instance wrapping cell 1,
  * and P[1] a PlaceHolder instance owned by that cell.

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie1b9c092783e436fdfe21d29bf72d0a743ca3a6b
Gerrit-PatchSet: 1
Gerrit-Project: VisualEditor/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Bartosz Dziewoński <matma....@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to