ccc-tnt-psd2ui/npm-packages/mac-v2.4.x/are-we-there-yet/lib/tracker-base.js
2023-07-24 11:13:08 +08:00

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)