Issues

Issue #323 resolved

update jQuery 1.2.6 to 1.4

anatoly techtonik
created an issue

jQuery 1.3 brings significant performance improvements - http://docs.jquery.com/Release:jQuery_1.3

jQuery 1.4 is also out - http://jquery14.com/day-01/jquery-14

Comments (14)

  1. Anonymous

    Sorry to ask, but I see Sphinx 0.6.5 still released with jquery 1.2. And I can't find in the hg repo a newer jquery (I might be not using hg correctly). A separate problem is that doctools.js doesn't work with a manually-replaced jquery.js 1.4…

    thanks, iustin

  2. Georg Brandl repo owner

    0.6.5 will not get an update; backwards compatibility is more important than a bit more speed. The update to 1.4 is currently in sphinx-domains branch, which will be merged to trunk today.

  3. Georg Brandl repo owner

    This is trunk only, and therefore in 1.0. As I said previously, "0.6.5 will not get an update; backwards compatibility is more important than a bit more speed." (of course I should have written 0.6.x instead of 0.6.5)

  4. Anonymous

    Ah, I didn't realize that 0.6.5 was released before this was committed to trunk, sorry!

    In any case, the problem that I have is:

    • Debian packaging doesn't allow embedded copies of other software, so Debian sphinx's package and any other packages that use sphinx must replace jquery.js with a symlink to the packaged version of jquery (thus in effect only one copy on the system, making sure potential security issues are dealt only in one place, etc.)
    • but Sphinx's doctools.js doesn't work with newer jquery, fails with a jquery.className is undefined at line 70

    So I was hoping that if you include a newer jquery, you'll update doctools.js too :)

    Should this be maybe a different bug?

    thanks again, iustin

  5. Georg Brandl repo owner

    So if I understand correctly, you want to use the 0.6 doctools.js with a newer jQuery?

    If that is so, can you verify that the change I made to doctools.js in order to make it compatible to jQuery 1.4 is also compatible with jQuery 1.2.6? The change is here: 72375ba800b6 .

  6. Log in to comment