Browse Source

using soop for inheritance

patch-2
Gordon Hall 11 years ago
parent
commit
5cc98a4595
  1. 4
      SeedList.js

4
SeedList.js

@ -3,9 +3,9 @@ var imports = require('soop').imports();
var parent = imports.parent || require('events').EventEmitter;
var EventEmitter = require('events').EventEmitter;
var dns = require('dns');
var inherits = require('util').inherits;
function SeedList(options) {
SeedList.super(this, arguments);
this.options = options || {};
this.sources = [
'dnsseed.bluematt.me',
@ -19,7 +19,7 @@ function SeedList(options) {
this.find()
};
inherits(SeedList, EventEmitter);
SeedList.parent = imports.parent || EventEmitter;
SeedList.prototype.find = function() {
var self = this;

Loading…
Cancel
Save