diff options
Diffstat (limited to 'ui/escape-selector.js')
-rw-r--r-- | ui/escape-selector.js | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/ui/escape-selector.js b/ui/escape-selector.js deleted file mode 100644 index d43e4f816..000000000 --- a/ui/escape-selector.js +++ /dev/null @@ -1,21 +0,0 @@ -( function( factory ) { - if ( typeof define === "function" && define.amd ) { - - // AMD. Register as an anonymous module. - define( [ "jquery", "./version" ], factory ); - } else { - - // Browser globals - factory( jQuery ); - } -} ( function( $ ) { - -// Internal use only -return $.ui.escapeSelector = ( function() { - var selectorEscape = /([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g; - return function( selector ) { - return selector.replace( selectorEscape, "\\$1" ); - }; -} )(); - -} ) ); |