finki-main
main
|
Last change
on this file since 81bc7da was 81bc7da, checked in by Klimentina Efremova <klimentina08642@…>, 3 months ago |
|
Initial commit
|
-
Property mode
set to
100644
|
|
File size:
274 bytes
|
| Line | |
|---|
| 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.