colorbox
colorbox copied to clipboard
jQuery 3.0 deprecated event
Following the jQuery upgrade guide .bind
and .unbind
are deprecated. Will you update the plugin ?
That's a good question. I haven't been in a hurry to do that because Colorbox has many legacy users.
Fork incoming !
EDIT: .on()
and .off()
are implanted since jQuery 1.7. As minimum requirement it should be ok.
Works great with the latest jquery 3 see my page, bootstrap 4 beta 3 and jquery 3.3.1 and click the inline colorbox link to view code [Colorbox Responsive] (https://donboulton.com/responsive-colorbox)
@donaldboulton yeah its works but it's deprecated "The older .bind(), .unbind(), .delegate() and .undelegate() methods are being deprecated as of 3.0, but are still present." Link
Will be any updates planned? I would be grateful !
We are also in the process of upgrading a site to jQuery 3.x. Since jQuery 1.x/2.x seem to be unsupported since mid 2017 and taking @Taxman972's last comment into account, I'd also suggest a version that doesn't use the deprecated functions.
@jackmoore Any plan on release new version with jQuery 3+ support. Its long time since jquery version updated. Old legacy systems will be continue to work as it is with the older colorbox version.
A update for jquery v3.4.1 would be great.