Update code/hooks.js

This commit is contained in:
master0yoshigr 2013-02-17 21:02:21 -05:00
parent 4064a1bee0
commit 132573e6ea

View File

@ -23,7 +23,8 @@
// code/map_data.js#renderPortal near the end. Will hand // code/map_data.js#renderPortal near the end. Will hand
// the Leaflet CircleMarker for the portal in "portal" var. // the Leaflet CircleMarker for the portal in "portal" var.
// portalDetailsUpdated: fired after the details in the sidebar have // portalDetailsUpdated: fired after the details in the sidebar have
// been (re-)rendered // been (re-)rendered. Provides data about the portal that
// has been selected.
window._hooks = {} window._hooks = {}
window.VALID_HOOKS = ['portalAdded', 'portalDetailsUpdated']; window.VALID_HOOKS = ['portalAdded', 'portalDetailsUpdated'];