A step towards lazily instantiating these controllers. A few event handlers (like for query and search) need to be moved to allow the controllers to really be instantiated lazily. You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/6291 -- Commit Summary -- * Curry js element controllers * Instantiate js controllers only in router -- File Changes -- M app/assets/javascripts/index.js (40) M app/assets/javascripts/index/element.js (6) M app/assets/javascripts/router.js (2) -- Patch Links -- https://github.com/openstreetmap/openstreetmap-website/pull/6291.patch https://github.com/openstreetmap/openstreetmap-website/pull/6291.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/6291 You are receiving this because you are subscribed to this thread. Message ID: <openstreetmap/openstreetmap-website/pull/6...@github.com>
_______________________________________________ rails-dev mailing list rails-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/rails-dev