jquery.sparkline icon indicating copy to clipboard operation
jquery.sparkline copied to clipboard

sparkline.js is not compatible with jquery-1.9.1.min.js and above

Open K-7 opened this issue 10 years ago • 3 comments

It looks like sparkline.js is not compatible with jquery-1.9.1.min.js and above. Please let me know the fix if exists

K-7 avatar Aug 28 '14 07:08 K-7

From http://omnipotent.net/jquery.sparkline/#s-news

15 June 2013 - Version 2.1.2 Relased This release adds support for jQuery 1.10.0 and other bug fixes and minor improvements.

26 January 2013 - Version 2.1.1 Relased This release adds support for jQuery 1.9.0 along with a couple of other bug fixes.

If you're using a version of jQuery later than 1.8, be extra sure you're not rendering your page in quirks mode to avoid breaking tooltips for IE users. See jQuery's notes on quirks compatiblity for more info.

MikeRobertson avatar Aug 31 '14 17:08 MikeRobertson

Yup , thank you buddy.. works fine with Version 2.1.2 relase

K-7 avatar Sep 04 '14 06:09 K-7

I got problems in my app when I switch from 2.1.1 to jquery 3.1.1, but only on one page where I have 22 sparklines and only when I call the destroy function.

What happens is, the windows freezes and the destroy takes 1-1,5s for every destroy times 22 =~30s

I cannot reproduce it standalone, but when I switch back from 3.1 to v2.1 the problem dissapears, so it must be something realted to this jQuery version!

Legends avatar Feb 13 '17 20:02 Legends