Improve bkEventExecutor interface implementation
What was done before isn't valid JS; This does the same thing, while keeping the JS syntax valid.
This commit is contained in:
parent
3c7f8ae94e
commit
6ec85d5a8f
1 changed files with 2 additions and 2 deletions
|
@ -121,11 +121,11 @@ exports.on = function(
|
|||
handlerList = eventType.getHandlerList( );
|
||||
|
||||
var result = { };
|
||||
eventExecutor = new bkEventExecutor( ) {
|
||||
eventExecutor = new bkEventExecutor( {
|
||||
execute: function( l, evt ) {
|
||||
handler.call( result, evt );
|
||||
}
|
||||
};
|
||||
} );
|
||||
/*
|
||||
wph 20130222 issue #64 bad interaction with Essentials plugin
|
||||
if another plugin tries to unregister a Listener (not a Plugin or a RegisteredListener)
|
||||
|
|
Reference in a new issue