jquery-address icon indicating copy to clipboard operation
jquery-address copied to clipboard

support for jquery 1.10.x???

Open acheson0410 opened this issue 11 years ago • 7 comments

Hi,

I just wonder whether this plugin support for jquery 1.10 or not. If not, will it update to support 1.10 soon?

When I was using jquery 1.10.2 with this plugin, it showed Jquery.address is not defined. But it works fine on jquery 1.9.

Thanks.

Johnny

acheson0410 avatar Oct 08 '13 04:10 acheson0410

I'm seeing the same issue. Also getting this error in the console (jQuery 1.10.1, jquery-address 1.5)

Uncaught TypeError: Cannot read property 'version' of undefined

c0d3runn3r avatar Nov 14 '13 18:11 c0d3runn3r

It looks like this is fixed in the source. If I do a git checkout, things work fine. It appears to be only broken in 1.5.

c0d3runn3r avatar Nov 14 '13 19:11 c0d3runn3r

I have the same problem in 1.5. But in 1.6 appears another problem:

Uncaught TypeError: undefined is not a function

This line is causing it:

$('a[rel*="address:"]').address();

hpurmann avatar Jun 11 '14 20:06 hpurmann

hpurmann did you ever find a solution to the above problem?

bknill avatar Sep 04 '14 21:09 bknill

Not really good practice but i simply commented out line 140 and live with it :)

// $('a[rel*="address:"]').address();

hpurmann avatar Sep 04 '14 21:09 hpurmann

Ha. Thanks!

I managed to fix it by adding the jquery address import to the head of the html document, where previously I was importing it later on in the load. This seems to have solved it.

On Fri, Sep 5, 2014 at 9:53 AM, Hendrik Purmann [email protected] wrote:

Not really good practice but i simply commented out line 140 and live with it :)

$('a[rel*="address:"]').address();

— Reply to this email directly or view it on GitHub https://github.com/asual/jquery-address/issues/181#issuecomment-54550971 .

Ben Knill

Beek CEO Tel: 022 6586424

bknill avatar Sep 04 '14 22:09 bknill

http://pupunzi.open-lab.com/2012/08/14/jquery-1-8-and-browser-detection/ good fix

vasyahacker avatar Sep 29 '17 07:09 vasyahacker