[opencms-dev] Which scripts are included in scripts-all.min.js?

Honey.Bhandari at cognizant.com Honey.Bhandari at cognizant.com
Wed Jul 13 07:51:27 CEST 2016


You can always update the template to use the version that you want to use and not the version which is available!

From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Christian Bjørnbak
Sent: Wednesday, July 13, 2016 11:19 AM
To: The OpenCms mailing list <opencms-dev at opencms.org>
Subject: [opencms-dev] Which scripts are included in scripts-all.min.js?

Hi,

We would like to upgrade jQuery in the apollo template to align it with the jQuery we use in our own system that we need to integrate with OpenCMS.

With OC 9.5 the javascripts was included individually in bootstrap-grid-page.jsp so it was easy to replace jQuery.

But in the new apollo template all javascripts are merged and minified into scripts-all.min.js and only bootstrap, jQuery and jQuery UI is included explicitly.

I can find jQuery in scripts-all.min.js but comparing it with the included jquery.min.js I see that it is minified with another minifier as the code is organized differently.

So search-and-replacing jQuery in script-all.min.js is no easy task.

The sourcecode for scripts-all.min.js is as the rest of the apollo module unavailable. Is it a secret which scripts are included in scripts-all.min.js or are you willing to share the sources so I can merge and minify scripts-all.min.js myself?

Our other option is to downgrade our jQuery to OpenCMS'. We also use jQuery UI and I am trying to gather if that is included in scripts-all.min.js too?




Med venlig hilsen / Kind regards,

Christian Bjørnbak

Chefudvikler / Lead Developer
TouristOnline A/S
Islands Brygge 43
2300 København S
Denmark
TLF: +45 32888230
Dir. TLF: +45 32888235
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. Where permitted by applicable law, this e-mail and other e-mail communications sent to and from Cognizant e-mail addresses may be monitored.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20160713/8de93253/attachment.htm>


More information about the opencms-dev mailing list