JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.5.1
[ckeditor.git] / _source / core / ckeditor.js
index 59f76b7..201c195 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.\r
 For licensing, see LICENSE.html or http://ckeditor.com/license\r
 */\r
 \r
@@ -59,9 +59,10 @@ CKEDITOR.add = function( editor )
 };\r
 \r
 /**\r
- * Removes and editor instance from the global {@link CKEDITOR} object. his function\r
- * is available for internal use mainly.\r
- * @param {CKEDITOR.editor} editor The editor instance to be added.\r
+ * Removes an editor instance from the global {@link CKEDITOR} object. This function\r
+ * is available for internal use only. External code must use {@link CKEDITOR.editor.prototype.destroy}\r
+ * to avoid memory leaks.\r
+ * @param {CKEDITOR.editor} editor The editor instance to be removed.\r
  * @example\r
  */\r
 CKEDITOR.remove = function( editor )\r
@@ -131,3 +132,10 @@ CKEDITOR.TRISTATE_DISABLED = 0;
  *         editor = CKEDITOR.currentInstance;\r
  *     });\r
  */\r
+\r
+/**\r
+ * Fired when the last instance has been destroyed. This event is used to perform\r
+ * global memory clean up.\r
+ * @name CKEDITOR#reset\r
+ * @event\r
+ */\r