Revert "added a renderlimit for the plugin"

This reverts commit a94bf4475b.
This commit is contained in:
Florian Sundermann
2013-02-25 08:50:41 +01:00
parent a94bf4475b
commit 1fdad5cfdf
3 changed files with 7 additions and 28 deletions

View File

@ -43,16 +43,13 @@
// redrawn. It is called early on in the
// code/map_data.js#renderPortal as long as there was an
// old portal for the guid.
// checkRenderLimit: callback is passed the argument of
// {reached : false} to indicate that the renderlimit is reached
// set reached to true.
window._hooks = {}
window.VALID_HOOKS = ['portalAdded', 'portalDetailsUpdated',
'publicChatDataAvailable', 'portalDataLoaded', 'beforePortalReRender',
'checkRenderLimit'];
'publicChatDataAvailable', 'portalDataLoaded', 'beforePortalReRender'];
window.runHooks = function(event, data) {
if(VALID_HOOKS.indexOf(event) === -1) throw('Unknown event type: ' + event);