[ 
https://issues.apache.org/jira/browse/JSPWIKI-811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14124465#comment-14124465
 ] 

Glen Mazza commented on JSPWIKI-811:
------------------------------------

On Apache Roller, we don't put JS or JS libraries in a common header file, we 
just include them in each JSP that needs them.  That way, JSPs that don't need 
those libraries aren't burdened with downloading them, and also it allows us to 
update each file with different JS libraries file-by-file instead of being 
required to do it all at once.

Therefore, I suspect it would be better to pull out mootools & jspwiki-common 
(M&JC) from commonheader.jsp and instead manually place it in each of the 13-15 
files using it.  Those files which are using M&JC in very few places can be the 
first to be converted to JQuery (i.e., have their references to M&JC removed), 
then go file by file until the need for M&JC is gone.  (As for JC, hopefully it 
can be made library-independent and also reduced in size as we rely on standard 
libraries like JQuery for its functionality.)

> Migrate from Mootools to jQuery
> -------------------------------
>
>                 Key: JSPWIKI-811
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-811
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Default template
>            Reporter: Ichiro Furusato
>              Labels: javascript
>             Fix For: FutureVersion
>
>
> Following a discussion on the dev mailing list, this is a suggestion to 
> migrate from Mootools to jQuery, given the latter's overwhelming popularity.
> Re: Mootools vs. jQuery, jspwiki-dev mailing list
> http://mail-archives.apache.org/mod_mbox/jspwiki-dev/201401.mbox/%3CCAEUnRMtqhu%3Drd5MfJ4mEJdDKn2bhMZkFKwMKogYyjfh%3D-j9ocA%40mail.gmail.com%3E



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to