Use events module
This commit is contained in:
parent
946853f490
commit
12ea5f8478
|
@ -69,7 +69,7 @@ function Schema(name, settings) {
|
|||
};
|
||||
};
|
||||
|
||||
util.inherits(Schema, process.EventEmitter);
|
||||
util.inherits(Schema, require('events').EventEmitter);
|
||||
|
||||
function Text() {
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue