You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently encountered an issue of compatibility with other plugins due to the fact that prototype is defining functions like "remove" at the global scope.
which is used in my institution for cookie permissions handling. Overall, I think that a best practice would be to contain function names like "remove" within a scope, or at least use names with a prefix or something like that. That goes for the third-party apps too, obviously, but I can't control what they do.
The text was updated successfully, but these errors were encountered:
Thank you for adding that to a milestone. I realize that it might not be a simple fix, because it is a core library for EPrints now, so it could be referenced all over the place.
"ultimately PrototypeJS will be completely removed in the next major release of EPrints" that is great news!
I recently encountered an issue of compatibility with other plugins due to the fact that prototype is defining functions like "remove" at the global scope.
eprints3.4/ingredients/prototypejs/static/javascript/auto/20_prototype.js
Line 2174 in 2467b68
This causes problems when others also define a function like "remove". I am referring specifically to this as an example:
https://trustcassie.com/
which is used in my institution for cookie permissions handling. Overall, I think that a best practice would be to contain function names like "remove" within a scope, or at least use names with a prefix or something like that. That goes for the third-party apps too, obviously, but I can't control what they do.
The text was updated successfully, but these errors were encountered: