[opencms-dev] Which scripts are included in scripts-all.min.js?
Filip Kratochvil
filip.kratochvil at nelasoft.cz
Wed Jul 13 08:22:00 CEST 2016
Hi guys,
try to explore github repository.
Here ale all source scripts:
https://github.com/alkacon/modules-v8/tree/branch_10_0_x/modules/com.alkacon.unify.basics/resources/system/modules/com.alkacon.unify.basics/resources
Scripts are minifiend and concatenated using Grunt task manager. Script for that is Gruntfile.js:
https://github.com/alkacon/modules-v8/tree/branch_10_0_x/modules/com.alkacon.unify.basics
You can replace minified version by file-to-file including. Better way will be download source files, replace only selected scripts (jQuery etc.) and make new JS/CSS build.
--
S pozdravem / Kind regards
Filip Kratochvil
------------------------------------------------
NELASOFT Technologies, s.r.o.
E-mail: filip.kratochvil at nelasoft.cz
Web: www.nelasoft.cz <http://www.nelasoft.cz/>
Twitter: @NELASOFT <https://twitter.com/NELASOFT>
From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Christian Bjornbak
Sent: Wednesday, July 13, 2016 8:07 AM
To: The OpenCms mailing list
Subject: Re: [opencms-dev] Which scripts are included in scripts-all.min.js?
How?
scripts-all.min.js is kind of blackbox of which scripts are included...
So I don't know which scripts to include in the updated template..
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
2016-07-13 7:51 GMT+02:00 <Honey.Bhandari at cognizant.com>:
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 <tel:%2B45%2032888230>
Dir. TLF: +45 32888235 <tel:%2B45%2032888235>
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.
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20160713/b1cbfd25/attachment.htm>
More information about the opencms-dev
mailing list