aboutsummaryrefslogtreecommitdiffstats
path: root/ui/core.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/core.js')
-rw-r--r--ui/core.js11
1 files changed, 2 insertions, 9 deletions
diff --git a/ui/core.js b/ui/core.js
index a0931dffa..fe627dea6 100644
--- a/ui/core.js
+++ b/ui/core.js
@@ -22,6 +22,7 @@
"jquery",
"./data",
"./disable-selection",
+ "./escape-selector",
"./focusable",
"./version"
], factory );
@@ -90,15 +91,7 @@ $.extend( $.ui, {
if ( element && element.nodeName.toLowerCase() !== "body" ) {
$( element ).trigger( "blur" );
}
- },
-
- // Internal use only
- escapeSelector: ( function() {
- var selectorEscape = /([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g;
- return function( selector ) {
- return selector.replace( selectorEscape, "\\$1" );
- };
- } )()
+ }
} );
// plugins