Not really. Most good JS libraries will not break if they are included multiple times for exactly this reason, though it does affect page load times. If you end up reeeeally needing to do it, you can use a post-req filter to walk the JS/CSS lists and look for possible duplicated.
--Noah > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of rob > Sent: Friday, May 28, 2010 1:32 PM > To: Trac Development > Subject: [Trac-dev] Sharing static resources across plugins > > Is there a (best) way to share static resources across Trac plugins? > For example, let's say I have multiple plugins that each want to add > jquery-ui or tinymce scripts, for example - how best to do that so > that the same scripts don't get added multiple times (and therefore > conflict)? > > Thanks. > - Rob > > -- > You received this message because you are subscribed to the Google > Groups "Trac Development" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to trac- > [email protected]. > For more options, visit this group at > http://groups.google.com/group/trac-dev?hl=en. -- You received this message because you are subscribed to the Google Groups "Trac Development" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en.
