[Pkg-javascript-devel] Bug#823149: libjs-jquery-fancybox doesn't	work with current libjs-jquery
    Colomban Wendling 
    lists.ban at herbesfolles.org
       
    Sun May  1 14:18:12 UTC 2016
    
    
  
Package: libjs-jquery-fancybox
Version: 11-1
Severity: grave
Justification: renders package unusable
Dear Maintainer,
The version of libjs-jquery-fancybox packaged (1.3.4 (11/11/2010) [1])
is not compatible with current version of libjs-jquery (1.12.3), and
doesn't work at all with it:
	TypeError: $.browser is undefined
	(at jquery.fancybox.min.js:1:418)
According to https://stackoverflow.com/questions/14344289/fancybox-doesnt-work-with-jquery-v1-9-0-f-browser-is-undefined-cannot-read
it's simply that this old version of FancyBox isn't compatible with
API changes in newer jQuery.
I see three possible fixes for the package, in order of preference:
* Update the plugin to its latest version (or at least, newer) which
  should be compatible.
* Patch the packaged version of the plugin to work with current jQuery.
* Make the libjs-jquery-fancybox package depend on libjs-jquery < 1.9,
  but that would effectively make the package uninstallable on testing
  and newer.
Thanks,
Colomban
[1] $ grep Version: /usr/share/javascript/jquery-fancybox/jquery.fancybox.js
-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.5.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libjs-jquery-fancybox depends on:
ii  libjs-jquery             1.12.3-1
ii  libjs-jquery-easing      11-1
ii  libjs-jquery-mousewheel  11-1
Versions of packages libjs-jquery-fancybox recommends:
ii  javascript-common  11
libjs-jquery-fancybox suggests no packages.
-- no debconf information
    
    
More information about the Pkg-javascript-devel
mailing list