X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=_source%2Fcore%2Fevent.js;h=fa19060376276b950637ab37cad04222c7263cd2;hb=48b1db88210b4160dce439c6e3e32e14af8c106b;hp=8668a3da4672ca1049d058045fe534ffa495b1d2;hpb=c6e377a02b54abc07129d72b632763c727476a15;p=ckeditor.git diff --git a/_source/core/event.js b/_source/core/event.js index 8668a3d..fa19060 100644 --- a/_source/core/event.js +++ b/_source/core/event.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ @@ -11,9 +11,15 @@ For licensing, see LICENSE.html or http://ckeditor.com/license if ( !CKEDITOR.event ) { /** - * This is a base class for classes and objects that require event handling - * features. - * @constructor + * Creates an event class instance. This constructor is rearely used, being + * the {@link #.implementOn} function used in class prototypes directly + * instead. + * @class This is a base class for classes and objects that require event + * handling features.
+ *
+ * Do not confuse this class with {@link CKEDITOR.dom.event} which is + * instead used for DOM events. The CKEDITOR.event class implements the + * internal event system used by the CKEditor to fire API related events. * @example */ CKEDITOR.event = function() @@ -21,7 +27,7 @@ if ( !CKEDITOR.event ) /** * Implements the {@link CKEDITOR.event} features in an object. - * @param {Object} targetObject The object in which implement the features. + * @param {Object} targetObject The object into which implement the features. * @example * var myObject = { message : 'Example' }; * CKEDITOR.event.implementOn( myObject }; @@ -31,7 +37,7 @@ if ( !CKEDITOR.event ) * }); * myObject.fire( 'testEvent' ); */ - CKEDITOR.event.implementOn = function( targetObject, isTargetPrototype ) + CKEDITOR.event.implementOn = function( targetObject ) { var eventProto = CKEDITOR.event.prototype;