chore: remove webrtcsupport

This commit is contained in:
Jacob Heun
2019-08-20 17:05:15 +02:00
parent aa95ab9928
commit 299cfefa01
2 changed files with 2 additions and 3 deletions

View File

@ -1,12 +1,12 @@
/* eslint-env mocha */
'use strict'
const w = require('webrtcsupport')
const wrtcSupport = self.RTCPeerConnection && ('createDataChannel' in self.RTCPeerConnection.prototype)
require('./transports.browser.js')
require('./swarm-muxing+websockets.browser')
if (w.support) {
if (wrtcSupport) {
require('./t-webrtc-star.browser')
require('./swarm-muxing+webrtc-star.browser')
}