addListener

addListener

コード

Extension.prototype.addListener = function(name, callback) {
    this.listeners[name] = callback
}