There was an error while loading. Please reload this page.
1 parent c22e831 commit c2c6953Copy full SHA for c2c6953
lib/rooms/WaitingRoom.js
@@ -795,11 +795,11 @@ WaitingRoom.prototype.parseSettings = function(settings) {
795
throw new TypeError(where + 'REMOTE_DISPATCH invalid ' +
796
'or missing url. Found: ' + r);
797
}
798
- if (r.preprocess && 'function' !== typeof r.preprocess) {
+ if (obj.preprocess && 'function' !== typeof obj.preprocess) {
799
throw new TypeError(where + 'REMOTE_DISPATCH.preprocess must be ' +
800
'function or undefined. Found: ' + r.preprocess);
801
802
- this.REMOTE_DISPATCH = r;
+ this.REMOTE_DISPATCH = obj;
803
804
805
if ('undefined' !== typeof settings.PAGE_TITLE) {
0 commit comments