Merge pull request #138 from Strat-/patch-1

Improve bkEventExecutor interface implementation
This commit is contained in:
Walter Higgins 2014-04-25 21:03:07 +01:00
commit c8425cb597

View file

@ -121,11 +121,11 @@ exports.on = function(
handlerList = eventType.getHandlerList( ); handlerList = eventType.getHandlerList( );
var result = { }; var result = { };
eventExecutor = new bkEventExecutor( ) { eventExecutor = new bkEventExecutor( {
execute: function( l, evt ) { execute: function( l, evt ) {
handler.call( result, evt ); handler.call( result, evt );
} }
}; } );
/* /*
wph 20130222 issue #64 bad interaction with Essentials plugin wph 20130222 issue #64 bad interaction with Essentials plugin
if another plugin tries to unregister a Listener (not a Plugin or a RegisteredListener) if another plugin tries to unregister a Listener (not a Plugin or a RegisteredListener)