mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02:00
Remove trailing spaces
Related issue: - https://github.com/uBlockOrigin/uBlock-issues/issues/679
This commit is contained in:
parent
dd1a4ed36a
commit
a89aad0304
@ -115,7 +115,7 @@
|
|||||||
}
|
}
|
||||||
const prop = chain.slice(0, pos);
|
const prop = chain.slice(0, pos);
|
||||||
let v = owner[prop];
|
let v = owner[prop];
|
||||||
chain = chain.slice(pos + 1);
|
chain = chain.slice(pos + 1);
|
||||||
if ( v ) {
|
if ( v ) {
|
||||||
makeProxy(v, chain);
|
makeProxy(v, chain);
|
||||||
return;
|
return;
|
||||||
@ -707,7 +707,7 @@
|
|||||||
while ( props.length ) {
|
while ( props.length ) {
|
||||||
var prop = props.pop();
|
var prop = props.pop();
|
||||||
if ( typeof window[prop] === 'function' ) {
|
if ( typeof window[prop] === 'function' ) {
|
||||||
window[prop] = noopfn;
|
window[prop] = noopfn;
|
||||||
} else {
|
} else {
|
||||||
Object.defineProperty(window, prop, {
|
Object.defineProperty(window, prop, {
|
||||||
get: function() { return noopfn; },
|
get: function() { return noopfn; },
|
||||||
|
Loading…
Reference in New Issue
Block a user