You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/08/21 19:18:00 UTC

[jira] [Commented] (JSPWIKI-1097) Gradually replace mootools js library by native js/css3

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

ASF subversion and git services commented on JSPWIKI-1097:
----------------------------------------------------------

Commit ba1be247c837d0693118da35663d8f88c7526deb in jspwiki's branch refs/heads/master from brushed
[ https://gitbox.apache.org/repos/asf?p=jspwiki.git;h=ba1be24 ]

2.11.0-M5-git-11: [JSPWIKI-1097] , JSP bugs reported by sonarcloud


> Gradually replace mootools js library by native js/css3  
> ---------------------------------------------------------
>
>                 Key: JSPWIKI-1097
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-1097
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Templates and UI
>            Reporter: brushed
>            Priority: Minor
>             Fix For: FutureVersion
>
>
>  
> Over the past years, web standards in modern browsers (html, css, js) have rapidly evolved.  Large javascript libraries (jspwiki uses mootools)  have become less needed  (eg less need for cross-browser hacks) and most of them have stopped active development.
>  * better dom manipulation api's are supported natively
>  * advanced animation / transition effects are supported by css with better performance
>  * the size of js to be loaded can be reduced
>  * syntactical utilities can be replaced by using latest evolution of javascript language  
> Adopting native browser features implies to stop supporting (very) old browsers.
> For JSPWiki  =>
>  * provide support for Chrome, Safari, Firefox, Edge, Opera. (current/stable version)
>  * IE11 will be supported, but support for IE10 and earlier is dropped
> If older browsers would still be required,  [polyfills|https://developer.mozilla.org/en-US/docs/Glossary/Polyfill] could be used. 
>  
>  
> APPROACH
> We will adopt "vanilla" JS wherever possible;  with the help of a small set of helper js functions; to keep the javascript light and readable.
> (inspired by [Lea Verou's Bliss|http://lea.verou.me/2015/12/introducing-bliss-a-3kb-library-for-happier-vanilla-js/] project)
> The transition of JSPWIKI will be done gradually.  We've actually started already to adopt new css and js features in the past.
> From 2.11.0-M4 we will actively start replacing the mootools api in existing javascript routines.
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.2#803003)