X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fcore%2Fevent.js;h=114d22eb2eeba15a2eb8ebc6a35b201c6babd26c;hp=8668a3da4672ca1049d058045fe534ffa495b1d2;hb=039a051ccf3901311661022a30afd60fc38130c9;hpb=c9fdde67e6384bd5a66adc2b3bba5c4ce9db56c7
diff --git a/_source/core/event.js b/_source/core/event.js
index 8668a3d..114d22e 100644
--- a/_source/core/event.js
+++ b/_source/core/event.js
@@ -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;