X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fcore%2Ftools.js;h=ee00f91feba5207ed21c3a7664f45632e52cd396;hp=a1bff9af0da81409fca280cd54ae3a24aff4b923;hb=039a051ccf3901311661022a30afd60fc38130c9;hpb=c9fdde67e6384bd5a66adc2b3bba5c4ce9db56c7 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