This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var darkf_dix = module.exports = function (hub) { | |
var self = this; | |
this.hub = hub; | |
// We register ourself as darkf_dix and are returned a handle that | |
// allows us to subscribe to or unsubscribe from events. | |
hub.register (this, "darkf_dix", function (handle) { | |
// The first argument specifies what item to subscribe to events from. | |
// If null or undefined, the default is "*". The second argument | |
// specifies what kind of events to accept. If left null or undefined, |