Remove jQuery throttle-debounce dependency#6811
Remove jQuery throttle-debounce dependency#6811hlfan wants to merge 1 commit intoopenstreetmap:masterfrom
Conversation
ddaca19 to
0eb0954
Compare
|
Can we have instead a (throttled) event from iD on its parent like? window.parent?.postMessage('id-hash-update', '*' /* This is no sensitive data, so ok to allow all targets */); |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
3b6a74d to
de189a4
Compare
|
My favorite solution would be here in this repo in one file |
|
Yeah that would be nice, or exposing iD's lodash utilities similarly to d3. @tyrasd which option do you think would be more in-scope for the iD repo? |
This comment was marked as resolved.
This comment was marked as resolved.
Or @k-yle, maybe you have an idea? |
I would suggest adding a new event to iD's Then you don't need to override Footnotes
|
I have no intern view what this event is, but custom events are not always walk through the iframe barrier, while |
|
We are currently using |
I'll revisit this change in a separate pr to sandbox the iD frame as per the security report. |
iD already throttles its hash updates. Hooking into this allows dropping the vendored dependency, leaving only leaflet-related ones.