[dokuwiki] New PR: Defer javascript and add feature Flag

  • From: "micgro42" <wiki@xxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sun, 26 Jan 2020 19:54:53 +0100 (CET)

Hi,

micgro42 opened a new pull request at 
https://github.com/splitbrain/dokuwiki/pull/2974:

This builds upon the pull requests #2786 and #2958 by @Dr-Yukon and adds a 
feature flag for the defer attribute added to the jQuery and main-js requests 
in these pull requests. It adds only a single feature flag since deferring 
jQuery without deferring the main javascript request is likely to cause errors 
and confusion.

The feature flag defaults to "on" as this should be unproblematic except for a 
few plugins. Also, with this flag being on by default, it should see more usage 
and is more likely to uncover existing issues.

This feature flag should be removed once this feature is deemed safe.

Closes #2786 
Closes #2958

Please help us to review this pull request, so new contributors get feedback in 
a timely manner.

559a2600-406d-11ea-90f4-5ba81c1b40ac


-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts:

  • » [dokuwiki] New PR: Defer javascript and add feature Flag - micgro42