Having different versions of jQuery on different pages is complex. Both from a module developer standpoint and a site builder standpoint.
For example, if a module requires jQuery 1.3 and provides a block someone puts on an admin page there would be a problem for that block when used on admin pages.
We should keep this as simple as possible for site builders who are not coders. For the coders who want to exclude updates on certain paths the replacements alter hook will be landing soon so they can do so on their own sites.
If someone wants to code this I'll consider it. But, I have no use case for it.
but this can be useful when you have a single page with a jQuery application on it which requires a new version of jQuery core or UI.
If we use jQuery update, it would update the entire system and few functionalities, such as dragging tables, views and panels would stop working
So I guess it would be a good idea to make a condition, like blocks, saying in which pages we would want to overwrite the new version or exclude those pages.
Comments
Comment #1
silurius commentedSubscribing.
Comment #2
mfer commentedSomeone want to write code to make it an option?
Comment #3
g4b0 commentedsubcribing!
Comment #4
mfer commentedHaving different versions of jQuery on different pages is complex. Both from a module developer standpoint and a site builder standpoint.
For example, if a module requires jQuery 1.3 and provides a block someone puts on an admin page there would be a problem for that block when used on admin pages.
We should keep this as simple as possible for site builders who are not coders. For the coders who want to exclude updates on certain paths the replacements alter hook will be landing soon so they can do so on their own sites.
If someone wants to code this I'll consider it. But, I have no use case for it.
Comment #5
WoozyDuck commentedbut this can be useful when you have a single page with a jQuery application on it which requires a new version of jQuery core or UI.
If we use jQuery update, it would update the entire system and few functionalities, such as dragging tables, views and panels would stop working
So I guess it would be a good idea to make a condition, like blocks, saying in which pages we would want to overwrite the new version or exclude those pages.