X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fcore%2Ftools.js;h=ee00f91feba5207ed21c3a7664f45632e52cd396;hb=refs%2Ftags%2Fv3.4.2;hp=a1bff9af0da81409fca280cd54ae3a24aff4b923;hpb=c9fdde67e6384bd5a66adc2b3bba5c4ce9db56c7;p=ckeditor.git diff --git a/_source/core/tools.js b/_source/core/tools.js index a1bff9a..ee00f91 100644 --- a/_source/core/tools.js +++ b/_source/core/tools.js @@ -346,19 +346,6 @@ For licensing, see LICENSE.html or http://ckeditor.com/license }, /** - * Replace characters can't be represented through CSS Selectors string - * by CSS Escape Notation where the character escape sequence consists - * of a backslash character (\) followed by the orginal characters. - * Ref: http://www.w3.org/TR/css3-selectors/#grammar - * @param cssSelectText - * @return the escaped selector text. - */ - escapeCssSelector : function( cssSelectText ) - { - return cssSelectText.replace( /[\s#:.,$*^\[\]()~=+>]/g, '\\$&' ); - }, - - /** * Gets a unique number for this CKEDITOR execution session. It returns * progressive numbers starting at 1. * @function