Posted by q0rban on April 7, 2009 at 8:16pm
7 followers
Jump to:
| Project: | jQuery Update |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
Attached patch adds a drupal alter call above the JS replacements, and also adds the path to the jquery_update_get_replacements function, so that modules can specify their own files, path and all.
| Attachment | Size |
|---|---|
| jquery_update_alter.patch | 2.01 KB |
Comments
#1
There is already an issue open on this :). I know, I opened it.
I'll review and work through this. Thanks.
#2
Where's that issue, Matt?
#3
Subscribing.
#4
Marked #792798: Allow other modules to also preprocess JavaScript as a duplicate of this issue. And subscribing.
#5
subscribing...
#6
With the existing core hooks of hook_library_alter() and hook_js_alter() do we need another method? In Drupal 6 this makes sense. But, for Drupal 7 is there anything we need to do?
#7
Certainly not. Moving back to 6.x.
#8
Similar: #1184704: Load different jQuery version on specified page.
#9
Hi, i'm experiencing problem while rewriting the JS in my theme page preprocess function. jqury_update module ignores my rewrites and restores previous list of JS files.
If this patch safe to use?
Can I apply it in my project?
Will it be pushed to module?