Last change
on this file since bdd6491 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
274 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | 'use strict'
|
---|
| 2 | var EventEmitter = require('events').EventEmitter
|
---|
| 3 | var util = require('util')
|
---|
| 4 |
|
---|
| 5 | var trackerId = 0
|
---|
| 6 | var TrackerBase = module.exports = function (name) {
|
---|
| 7 | EventEmitter.call(this)
|
---|
| 8 | this.id = ++trackerId
|
---|
| 9 | this.name = name
|
---|
| 10 | }
|
---|
| 11 | util.inherits(TrackerBase, EventEmitter)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.