Remove use of for..of, incompatible with IE
This commit is contained in:
parent
8f28e062fd
commit
ae6db4316b
|
|
@ -85,7 +85,8 @@ export default class RFB extends EventTargetMixin {
|
||||||
}
|
}
|
||||||
|
|
||||||
this._rawChannel = urlOrChannel;
|
this._rawChannel = urlOrChannel;
|
||||||
for (let prop of rawChannelProps) {
|
for (let i = 0; i < rawChannelProps.length; i++) {
|
||||||
|
let prop = rawChannelProps[i];
|
||||||
if (!urlOrChannel[prop]) {
|
if (!urlOrChannel[prop]) {
|
||||||
this._rawChannel = null;
|
this._rawChannel = null;
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue