You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

tracker-base.js 274B

1234567891011
  1. 'use strict'
  2. var EventEmitter = require('events').EventEmitter
  3. var util = require('util')
  4. var trackerId = 0
  5. var TrackerBase = module.exports = function (name) {
  6. EventEmitter.call(this)
  7. this.id = ++trackerId
  8. this.name = name
  9. }
  10. util.inherits(TrackerBase, EventEmitter)