mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-05 18:32:30 +01:00
bypass FF's built CSS.escape(), to benefit from serializeAsString
This commit is contained in:
parent
cc6a811934
commit
93c4502acc
@ -55,12 +55,7 @@ if ( document.querySelector('iframe.dom-inspector.' + vAPI.sessionId) !== null )
|
||||
// Added serializeAsString parameter.
|
||||
|
||||
/*! http://mths.be/cssescape v0.2.1 by @mathias | MIT license */
|
||||
var cssEscape = (function(root) {
|
||||
|
||||
var css = root.CSS || {};
|
||||
if ( css.escape ) {
|
||||
return css.escape;
|
||||
}
|
||||
var cssEscape = (function(/*root*/) {
|
||||
|
||||
var InvalidCharacterError = function(message) {
|
||||
this.message = message;
|
||||
|
Loading…
Reference in New Issue
Block a user