X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fcore%2FeventInfo.js;h=2e38828fff7e01e5409986e2913ffb8ccdda12f5;hp=910f365965e4882f86cb250d9a0f09374bcda045;hb=6e682412d5cc0dfaedb376482e585bf2989c6863;hpb=2f22c0c38f17e75be5541089076885442aaa2377 diff --git a/_source/core/eventInfo.js b/_source/core/eventInfo.js index 910f365..2e38828 100644 --- a/_source/core/eventInfo.js +++ b/_source/core/eventInfo.js @@ -118,3 +118,15 @@ For licensing, see LICENSE.html or http://ckeditor.com/license * }); * alert( someObject.fire( 'someEvent' ) ); // "true" */ + +/** + * Removes the current listener. + * @name CKEDITOR.eventInfo.prototype.removeListener + * @function + * @example + * someObject.on( 'someEvent', function( event ) + * { + * event.removeListener(); + * // Now this function won't be called again by 'someEvent' + * }); + */