JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.2
[ckeditor.git] / _source / core / tools.js
index 6fb417b..0fd703f 100644 (file)
@@ -619,6 +619,16 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
                },\r
 \r
                /**\r
+                * Removes the function reference created with {@see CKEDITOR.tools.addFunction}.\r
+                * @param {Number} ref The function reference created with\r
+                *              CKEDITOR.tools.addFunction.\r
+                */\r
+               removeFunction : function( ref )\r
+               {\r
+                       functions[ ref ] = null;\r
+               },\r
+\r
+               /**\r
                 * Executes a function based on the reference created with\r
                 * CKEDITOR.tools.addFunction.\r
                 * @param {Number} ref The function reference created with\r