X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=_source%2Fcore%2Fevent.js;h=8c1fe96a741e657471b5e04c3a833e518b45f288;hb=a272c66d841421f8bf933c16535bdcde1c4649fc;hp=8668a3da4672ca1049d058045fe534ffa495b1d2;hpb=c6e377a02b54abc07129d72b632763c727476a15;p=ckeditor.git
diff --git a/_source/core/event.js b/_source/core/event.js
index 8668a3d..8c1fe96 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-2013, 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;