colorbox icon indicating copy to clipboard operation
colorbox copied to clipboard

jQuery 3.0 deprecated event

Open Taxman972 opened this issue 7 years ago • 8 comments

Following the jQuery upgrade guide .bind and .unbind are deprecated. Will you update the plugin ?

Taxman972 avatar Jun 29 '17 14:06 Taxman972

That's a good question. I haven't been in a hurry to do that because Colorbox has many legacy users.

jackmoore avatar Jun 29 '17 14:06 jackmoore

Fork incoming ! EDIT: .on() and .off() are implanted since jQuery 1.7. As minimum requirement it should be ok.

Taxman972 avatar Jun 30 '17 06:06 Taxman972

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 avatar Jan 22 '18 20:01 donaldboulton

@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

Taxman972 avatar Jan 23 '18 06:01 Taxman972

Will be any updates planned? I would be grateful !

grzeee avatar Feb 16 '18 16:02 grzeee

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.

bmorg avatar Nov 20 '18 18:11 bmorg

@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.

gohelkiran30 avatar Jun 08 '19 05:06 gohelkiran30

A update for jquery v3.4.1 would be great.

Daijobou avatar Mar 27 '20 02:03 Daijobou