mediawiki-extensions-Visual.../modules/ve/ui/tools
Timo Tijhof 4e64187beb Document and clean up events in all the things
* Document them consistently between secetions Inheritance and
  Static Properties under their own (new) section Events.
* Removed any quotes or brackets around the event name in existing
  @emit annotations
  Search: @emit.*['"{}(){}]
* For every call to this.emit() anywhere, added @emits.
* Fixed all warnings for references to undefined events
  (introduced as a result of the previous point).
  Event handler parameter documented based on the emit() call
  and actual handlers using the event. Usually the latter is
  more elaborate.
* Extend coverage of jQuery as needed
  (copied from mwcore/maintenance/jsduck/external.js
  written by me, hereby implicitly and explicitly released under MIT).

Specifics
* ve.ce.Surface#onContentChange: Fixed type of range from Object to ve.Range.
* ve.ce.SurfaceObserver#poll: Fix syntax for code from {} to `backticks`.
* ve.ui.Toolbar#onContextChange: Doesn't actually emit "clearState" event.
  Removed #onClearState in Tool, ButtonTool and DropdownTool.

Bug: 45872
Change-Id: Id879aa769b2c72d86a0322e75dddeb868211ce28
2013-03-20 09:58:27 -07:00
..
buttons Major UI refactoring and improvements 2013-02-26 12:29:08 -08:00
dropdowns Create MediaWiki specific nodes to contain MW specific rules. 2013-03-12 16:28:29 -07:00
ve.ui.AnnotationButtonTool.js Major UI refactoring and improvements 2013-02-26 12:29:08 -08:00
ve.ui.ButtonTool.js Document and clean up events in all the things 2013-03-20 09:58:27 -07:00
ve.ui.DropdownTool.js Document and clean up events in all the things 2013-03-20 09:58:27 -07:00
ve.ui.IndentationButtonTool.js Major UI refactoring and improvements 2013-02-26 12:29:08 -08:00
ve.ui.InspectorButtonTool.js Major UI refactoring and improvements 2013-02-26 12:29:08 -08:00
ve.ui.ListButtonTool.js Major UI refactoring and improvements 2013-02-26 12:29:08 -08:00