Shortly, I'll be checking in a jQuery UI module that's a wrapper around the jQuery UI plug-in, and it requires a newer version of jQuery than what ships with core.
Assigning this to myself.
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | jquery_update_6.x.tar_.gz | 31.92 KB | webchick |
| #5 | jquery_update-6.x-258928-5.patch | 41.19 KB | webchick |
| #4 | jquery_update-6.x-258928-4.patch | 40.42 KB | webchick |
| #2 | jquery_update-6.x-258928-2.patch | 39.61 KB | webchick |
| #1 | jquery_update-6.x-258928-1.patch | 111.79 KB | webchick |
Comments
Comment #1
webchickThis patch basically represents a complete re-write of the entire module. 6.x rocks.
- removes compat.js
- removes misc/ directory and all files under that.
- removes ALL of the code in jquery_update.module and replaces it with a single, ~10-line function: jquery_update_preprocess_page().
- adds the 1.2.4a version of jQuery that comes with jQuery UI (which is not actually 1.2.4a... it's some nightly build from around then). It is NOT the packed version, but will be replaced with the packed version when 1.2.4 "proper" gets released.
- rewrote README.txt
Comment #2
webchickOh, nevermind. I compiled a packed version of 1.2.4b from http://jqueryjs.googlecode.com/svn/tags/1.2.4b/. 'ant pack' ftw!
Comment #3
webchickHrm. jjeff pointed out that if a theme has the following in *its* theme_preprocess_page()...
that it's going to undo the magic we have going on here. Phooey. Going to try a neat trick he came up with with theme_registry_alter.
Comment #4
webchickOk, this gets around the problem, by forcing jquery_update's preprocess_page function to the end of the stack.
Comment #5
webchickand you know, if I'm going to do that, this module should probably be weight 99 so that no module called "kaka" calls does this hook_theme_registry_alter() trick and then $vars['scripts'] = drupal_get_js(); in *its* preprocess_page function. :P
Comment #6
hass commentedJoin this issue and we are able to get 1.2.4 updated in core #256285: jquery.js: Fix CVS ID, remove SVN tags, please.
Comment #7
webchickActually, I need something different. I need a weird version of jQuery that works with jQuery UI (1.2.4 "proper" doesn't). So I need to re-work this module so that you can select from a settings page which version of jQuery to load.
Comment #8
webchickComment #9
hass commentedIsn't jQuery 1.2.4b not b = beta? From date - it's older then final 1.2.4!?
Comment #10
webchickDon't ask me, I just have to get it working. :P Good luck getting 1.2.4 into core.
Comment #11
webchickActually, I think selection is taking it too far, and I've already spent /way/ more time on this than I probably should have. ;)
Committed the attached to HEAD. Will leave it there for awhile for people to test, and probably branch and release once jQuery UI comes out of beta and we can use a 'proper' version of jQuery.
Comment #12
webchickIncidentally, read the README.txt. You no longer have to replace the core jquery.js to use this module, thanks to page preprocess hooks and hook_theme_registry_alter(). Yippee!
Comment #13
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.