Use jQuery.noop

This avoids the definition of several empty functions.

Change-Id: Ic6fe5c46e1ed90217c1935dd0a87c6b97a0ad513
This commit is contained in:
Fomafix 2014-10-10 13:49:09 +00:00 committed by Derk-Jan Hartman
parent aefe1def47
commit 86622b63fb

View file

@ -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,