[dokuwiki] Re: JavaScript/JQuery cleanup Weekend?

  • From: Michael Hamann <michael@xxxxxxxxxxxxxxxx>
  • To: dokuwiki <dokuwiki@xxxxxxxxxxxxx>
  • Date: Sat, 04 Jun 2011 13:37:41 +0200

Hi,

Excerpts from Matthias Schulte's message of 2011-06-03 20:51:07 +0200:
> would this cause some problems for the plugin authors? When they would like
> to serve their plugin for DW versions with old Javascript stuff and also for 
> DW's 
> with the jQuery-Port?

I don't think this will cause any problems. Plugin authors can either
provide two versions of their plugin or add if clauses around the code
that uses jQuery/the old functions and test if jQuery exists (or put a
large if around their whole code). And as the deprecated call is just
visible on the JavaScript console it also won't cause any problems for
plugins still using the old API.

Btw. I think the deprecated function is a really good solution for
plugin authors to test compatibility.

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

Other related posts: