[dokuwiki] Re: JavaScript/JQuery cleanup Weekend?

  • From: Myron Turner <turnermm02@xxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sat, 04 Jun 2011 10:25:39 -0500

On 6/4/2011 6:37 AM, Michael Hamann wrote:
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.
But we are going to get notification of which functions have been deprecated, as I understood from a previous? For instance, the ubiquitous dom = $('div'), which (I believe) conflicts with JQ. It would be a royal pain if after all these years we'd have to go through all of our code and remove those calls.

Myron Turner

DokuWiki mailing list - more info at

Other related posts: