Icard/angular-clarity-master(work.../node_modules/are-we-there-yet/lib/tracker-base.js

12 lines
274 B
JavaScript
Raw Permalink Normal View History

2024-07-16 14:55:36 +00: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)