Hi, thanks for the layout builder support, we have a happy YMCA (:
However we noticed when we added it to a branch page that the map stopped working. I seem to have narrowed it down to the geolocation module's JS not playing nicely with library-davekoelle/alphanum updating Array.prototype. I've added an MR to this geolocation issue that solves the problem I'm facing (see this explanation), but I thought it might also be good to program this module defensively and not pollute the global Array.prototype, at least while it's still common for folk to use jQuery.extend(). Could we maybe namespace it to window.OpenY.something?
Thanks!
Hi, thanks for the layout builder support, we have a happy YMCA (:
However we noticed when we added it to a branch page that the map stopped working. I seem to have narrowed it down to the geolocation module's JS not playing nicely with
library-davekoelle/alphanumupdatingArray.prototype. I've added an MR to this geolocation issue that solves the problem I'm facing (see this explanation), but I thought it might also be good to program this module defensively and not pollute the globalArray.prototype, at least while it's still common for folk to usejQuery.extend(). Could we maybe namespace it to window.OpenY.something?Thanks!