mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2025-01-06 01:35:39 +00:00
CodeMirror: fix JSDoc for ext.CodeMirror.ready hook
Change-Id: I6c6f5669b4538bf91d310f86bddb0b3933db7b0f
This commit is contained in:
parent
c3689196ad
commit
b070a1f367
|
@ -492,7 +492,7 @@ class CodeMirror {
|
||||||
*
|
*
|
||||||
* @event CodeMirror~'ext.CodeMirror.ready'
|
* @event CodeMirror~'ext.CodeMirror.ready'
|
||||||
* @param {jQuery} $view The CodeMirror view element.
|
* @param {jQuery} $view The CodeMirror view element.
|
||||||
* @param {EditorState} state The CodeMirror instance.
|
* @param {CodeMirror} cm The CodeMirror instance.
|
||||||
* @stable to use
|
* @stable to use
|
||||||
*/
|
*/
|
||||||
mw.hook( 'ext.CodeMirror.ready' ).fire( $( this.view.dom ), this );
|
mw.hook( 'ext.CodeMirror.ready' ).fire( $( this.view.dom ), this );
|
||||||
|
|
Loading…
Reference in a new issue