All Downloads are FREE. Search and download functionalities are using the official Maven repository.

template.js.base.escape-selector.js Maven / Gradle / Ivy

There is a newer version: 5.0.5
Show newest version
( 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" );
	};
} )();

} ) );




© 2015 - 2024 Weber Informatics LLC | Privacy Policy