prototypejs / prototype

Prototype JavaScript framework
http://prototypejs.org/
Other
3.54k stars 639 forks source link

Conflict with Google Street View embed #341

Open jwestbrook opened 6 years ago

jwestbrook commented 6 years ago

When prototype and Google StreetView are loaded on the same page, Google Street viewer ceases to respond to mouse events. I tracked it down to $A() being aliased as Array.from.

As there is no other code that uses Array.from and the next version is going to drop a lot of old support this might be a good time to drop this alias (as it also overwrites the native method as well)

links for details

https://stackoverflow.com/q/50418704/341491

https://issuetracker.google.com/issues/72690631