1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/are-we-there-yet/tracker-base.js

12 lines
274 B
JavaScript
Raw Normal View History

2023-12-18 13:12:25 +08:00
'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)