/*\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
},\r
\r
/**\r
- * Replace characters can't be represented through CSS Selectors string\r
- * by CSS Escape Notation where the character escape sequence consists\r
- * of a backslash character (\) followed by the orginal characters.\r
- * Ref: http://www.w3.org/TR/css3-selectors/#grammar\r
- * @param cssSelectText\r
- * @return the escaped selector text.\r
- */\r
- escapeCssSelector : function( cssSelectText )\r
- {\r
- return cssSelectText.replace( /[\s#:.,$*^\[\]()~=+>]/g, '\\$&' );\r
- },\r
-\r
- /**\r
* Gets a unique number for this CKEDITOR execution session. It returns\r
* progressive numbers starting at 1.\r
* @function\r
{\r
return functions.push( function()\r
{\r
- fn.apply( scope || this, arguments );\r
+ return fn.apply( scope || this, arguments );\r
}) - 1;\r
},\r
\r