[dokuwiki] New PR: JS modification action

  • From: "gamma" <wiki@xxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Wed, 8 Feb 2017 14:48:41 +0100 (CET)

Hi,

gamma opened a new pull request at 
https://github.com/splitbrain/dokuwiki/pull/1828:

This was part of the PR #1002 - I extracted the JS part to make it available 
already. I'm working on a new solution to incorporate the suggestions made by 
@selfthinker for the CSS part.

Add Event to modify the list of javascript files before they are processed. 
This allows plugins to not have their - or other plugins - script delivered to 
the client. Creating the list of files upfront might add a little overhead 
which I think is OK when you can be certain that only JavaScript that really is 
needed will be delivered to the client.

Multiple Javascript requests, e.g. to only send the jQuery part or just 
editor/administrator scripts, could be implemented with this modification (I 
know, jQuery has already been split).

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

4c13ec00-ee05-11e6-955d-4940b656f5f4


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

Other related posts:

  • » [dokuwiki] New PR: JS modification action - gamma