
* monitor os-level user activity * disable eslint warnings * add tests for UserActivityMonitor * couple more tests * udpate headers of new files
18 lines
396 B
JavaScript
18 lines
396 B
JavaScript
// Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
import EventEmitter from 'events';
|
|
|
|
/**
|
|
* Provides the bridging infrastructure to connect the desktop and webapp together
|
|
*/
|
|
export default class WebappConnector extends EventEmitter {
|
|
constructor() {
|
|
super();
|
|
|
|
this.active = true;
|
|
|
|
window.webappConnector = this;
|
|
}
|
|
}
|