CodeMirror: fix JSDoc for ext.CodeMirror.ready hook

Change-Id: I6c6f5669b4538bf91d310f86bddb0b3933db7b0f
This commit is contained in:
MusikAnimal 2024-12-10 01:33:03 -04:00
parent c3689196ad
commit b070a1f367

View file

@ -492,7 +492,7 @@ class CodeMirror {
*
* @event CodeMirror~'ext.CodeMirror.ready'
* @param {jQuery} $view The CodeMirror view element.
* @param {EditorState} state The CodeMirror instance.
* @param {CodeMirror} cm The CodeMirror instance.
* @stable to use
*/
mw.hook( 'ext.CodeMirror.ready' ).fire( $( this.view.dom ), this );