mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +00:00
dc2ce8ff59
The separate setup method was introduced in 2014 via I7c3c133. It appears like most of the code here was written before this method existed. Let's update it. * this.outlineItem is guaranteed to be set. No need for the `if`. * The parent method is effectively abstract. There is no point in calling it, I would argue. * The return value is never used. I.e. this method is never chained, and probably shouldn't. Change-Id: Ida26ebdf09be74958936c3950ebdf6def9a69bc0 |
||
---|---|---|
.. | ||
ve-mw | ||
ve-mw-collab |