X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fcore%2Ftools.js;h=0fd703f9ea6a1df91566395d2e5f928bb49ca715;hp=6fb417b8ed66fd956aa0123cb31eb01c515df9c5;hb=059b4c2fef02528bf1af189f7996e80652faddfb;hpb=c6e377a02b54abc07129d72b632763c727476a15 diff --git a/_source/core/tools.js b/_source/core/tools.js index 6fb417b..0fd703f 100644 --- a/_source/core/tools.js +++ b/_source/core/tools.js @@ -619,6 +619,16 @@ For licensing, see LICENSE.html or http://ckeditor.com/license }, /** + * Removes the function reference created with {@see CKEDITOR.tools.addFunction}. + * @param {Number} ref The function reference created with + * CKEDITOR.tools.addFunction. + */ + removeFunction : function( ref ) + { + functions[ ref ] = null; + }, + + /** * Executes a function based on the reference created with * CKEDITOR.tools.addFunction. * @param {Number} ref The function reference created with