mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2025-02-07 13:59:07 +00:00
![Jimmy Wärting](/assets/img/avatar_default.png)
- Uses class, const let, etc - Removed self variable - Creating a new Client without `new` keyword don’t work anymore - Replaced inherits with class extends
7 lines
157 B
JavaScript
7 lines
157 B
JavaScript
const Client = require('./client')
|
|
const Server = require('./server')
|
|
|
|
module.exports = Client
|
|
module.exports.Client = Client
|
|
module.exports.Server = Server
|