You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-26 21:23:26 +03:00
Revert "Run lint on travis builds and use modern node versions"
This commit is contained in:
@@ -8,7 +8,7 @@ import Promise from 'bluebird';
|
||||
* @param {Mocha.Context} context The test context
|
||||
*/
|
||||
export function beforeEach(context) {
|
||||
const desc = context.currentTest.fullTitle();
|
||||
var desc = context.currentTest.fullTitle();
|
||||
console.log();
|
||||
console.log(desc);
|
||||
console.log(new Array(1 + desc.length).join("="));
|
||||
@@ -22,7 +22,7 @@ export function beforeEach(context) {
|
||||
* returns true if the current environment supports webrtc
|
||||
*/
|
||||
export function browserSupportsWebRTC() {
|
||||
const n = global.window.navigator;
|
||||
var n = global.window.navigator;
|
||||
return n.getUserMedia || n.webkitGetUserMedia ||
|
||||
n.mozGetUserMedia;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user