Remove old hook

This commit is contained in:
fkloft 2014-09-13 19:54:12 +02:00
parent bdb95a703b
commit 2def40c847

View File

@ -15,9 +15,6 @@
// required to successfully boot the plugin. // required to successfully boot the plugin.
// //
// Heres more specific information about each event: // Heres more specific information about each event:
// playerNameResolved: called when unresolved player name get resolved.
// Argument is {names: object} which names[guid] is the
// resolved player name.
// portalSelected: called when portal on map is selected/unselected. // portalSelected: called when portal on map is selected/unselected.
// Provide guid of selected and unselected portal. // Provide guid of selected and unselected portal.
// mapDataRefreshStart: called when we start refreshing map data // mapDataRefreshStart: called when we start refreshing map data
@ -57,10 +54,9 @@
window._hooks = {} window._hooks = {}
window.VALID_HOOKS = [ window.VALID_HOOKS = [
'playerNameResolved', 'portalSelected', 'portalSelected', 'portalDetailsUpdated',
'mapDataRefreshStart', 'mapDataRefreshEnd', 'mapDataRefreshStart', 'mapDataRefreshEnd',
'portalAdded', 'linkAdded', 'fieldAdded', 'portalAdded', 'linkAdded', 'fieldAdded',
'portalDetailsUpdated',
'publicChatDataAvailable', 'factionChatDataAvailable', 'publicChatDataAvailable', 'factionChatDataAvailable',
'requestFinished', 'nicknameClicked', 'requestFinished', 'nicknameClicked',
'geoSearch', 'iitcLoaded', 'geoSearch', 'iitcLoaded',