mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeEditor
synced 2024-11-23 23:03:46 +00:00
Use jQuery.noop
This avoids the definition of several empty functions. Change-Id: Ic6fe5c46e1ed90217c1935dd0a87c6b97a0ad513
This commit is contained in:
parent
aefe1def47
commit
86622b63fb
|
@ -53,18 +53,12 @@
|
|||
* function is to both classify the scope of changes as 'division' or 'character' and to prevent further
|
||||
* processing of events which did not actually change the content of the iframe.
|
||||
*/
|
||||
'keydown': function () {
|
||||
},
|
||||
'change': function () {
|
||||
},
|
||||
'delayedChange': function () {
|
||||
},
|
||||
'cut': function () {
|
||||
},
|
||||
'paste': function () {
|
||||
},
|
||||
'ready': function () {
|
||||
},
|
||||
'keydown': $.noop,
|
||||
'change': $.noop,
|
||||
'delayedChange': $.noop,
|
||||
'cut': $.noop,
|
||||
'paste': $.noop,
|
||||
'ready': $.noop,
|
||||
'codeEditorSubmit': function () {
|
||||
context.evt.codeEditorSync();
|
||||
var i,
|
||||
|
|
Loading…
Reference in a new issue