mirror of https://github.com/gorhill/uBlock.git
code review re. #1443
This commit is contained in:
parent
eec3dfefd4
commit
0547c0dd18
|
@ -237,13 +237,11 @@ vAPI.messaging = {
|
||||||
this.pending = Object.create(null);
|
this.pending = Object.create(null);
|
||||||
this.pendingCount = 0;
|
this.pendingCount = 0;
|
||||||
for ( var auxId in pending ) {
|
for ( var auxId in pending ) {
|
||||||
if ( this.pending.hasOwnProperty(auxId) ) {
|
|
||||||
callback = pending[auxId];
|
callback = pending[auxId];
|
||||||
if ( typeof callback === 'function' ) {
|
if ( typeof callback === 'function' ) {
|
||||||
callback(null);
|
callback(null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
connect: function() {
|
connect: function() {
|
||||||
|
|
Loading…
Reference in New Issue