JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.4.2
[ckeditor.git] / _source / core / event.js
index 8668a3d..114d22e 100644 (file)
@@ -11,9 +11,15 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
 if ( !CKEDITOR.event )\r
 {\r
        /**\r
-        * This is a base class for classes and objects that require event handling\r
-        * features.\r
-        * @constructor\r
+        * Creates an event class instance. This constructor is rearely used, being\r
+        * the {@link #.implementOn} function used in class prototypes directly\r
+        * instead.\r
+        * @class This is a base class for classes and objects that require event\r
+        * handling features.<br />\r
+        * <br />\r
+        * Do not confuse this class with {@link CKEDITOR.dom.event} which is\r
+        * instead used for DOM events. The CKEDITOR.event class implements the\r
+        * internal event system used by the CKEditor to fire API related events.\r
         * @example\r
         */\r
        CKEDITOR.event = function()\r
@@ -21,7 +27,7 @@ if ( !CKEDITOR.event )
 \r
        /**\r
         * Implements the {@link CKEDITOR.event} features in an object.\r
-        * @param {Object} targetObject The object in which implement the features.\r
+        * @param {Object} targetObject The object into which implement the features.\r
         * @example\r
         * var myObject = { message : 'Example' };\r
         * <b>CKEDITOR.event.implementOn( myObject }</b>;\r
@@ -31,7 +37,7 @@ if ( !CKEDITOR.event )
         *     });\r
         * myObject.fire( 'testEvent' );\r
         */\r
-       CKEDITOR.event.implementOn = function( targetObject, isTargetPrototype )\r
+       CKEDITOR.event.implementOn = function( targetObject )\r
        {\r
                var eventProto = CKEDITOR.event.prototype;\r
 \r