mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-14 03:30:18 +00:00
12 lines
274 B
JavaScript
12 lines
274 B
JavaScript
'use strict'
|
|
var EventEmitter = require('events').EventEmitter
|
|
var util = require('util')
|
|
|
|
var trackerId = 0
|
|
var TrackerBase = module.exports = function (name) {
|
|
EventEmitter.call(this)
|
|
this.id = ++trackerId
|
|
this.name = name
|
|
}
|
|
util.inherits(TrackerBase, EventEmitter)
|