We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8c00af5 + 0fd9add commit cf6b6abCopy full SHA for cf6b6ab
adapter.js
@@ -25,10 +25,11 @@ var webrtcMinimumVersion = null;
25
var webrtcUtils = {
26
log: function() {
27
// suppress console.log output when being included as a module.
28
- if (!(typeof module !== 'undefined' ||
29
- typeof require === 'function') && (typeof define === 'function')) {
30
- console.log.apply(console, arguments);
+ if (typeof module !== 'undefined' ||
+ typeof require === 'function' && typeof define === 'function') {
+ return;
31
}
32
+ console.log.apply(console, arguments);
33
34
};
35
0 commit comments