Closed (won't fix)
Project:
Javascript Aggregator
Version:
5.x-1.3
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Aug 2008 at 21:32 UTC
Updated:
1 May 2009 at 12:33 UTC
Jump to comment: Most recent file
Comments
Comment #1
btully commentedhaving the same issue with jquery. am working on a fix which allows one to specify which scripts to ignore to be loaded BEFORE and AFTER aggregated scripts. Working fine for me. I added to my existing file which also includes the JsMin patch, so it might take me a day or so before I can post a clean patch for release
Comment #2
specialt commentedJust change the part where it says array_unshift($scripts_js_links, base_path().$jsfile); to array_push($scripts_js_links, base_path().$jsfile); Then it gets loaded before the aggregated file
Comment #3
btully commentedFinally had some time to create patches, attached below. I've included a patch to original that breaks up exclude options into "pre" and "post" and allows setting via an additional textfield.
I've also added another patch in case anyone is using the JSMin patch referenced here: http://drupal.org/node/251140.
Both patches are working successfully for me on a prod site.
Hope that helps!
regards,
brian
Comment #4
spiffyd commentedDoes this work for 6.x? How can I exclude JS files such as TinyMCE's (which has issues with aggregation) in 6.x?
Comment #5
derjochenmeyer commentedPlease dont change the version of this issue. This patch is valid only for Drupal 5.
Your question is answered here #369871: does the D6 version not include the 'exclude' ability / feature?