Opal-Estate-Pro/node_modules/are-we-there-yet/tracker-base.js
2019-09-13 11:27:52 +07:00

12 lines
274 B
JavaScript
Executable File

'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)