dileep502 / flot

Automatically exported from code.google.com/p/flot
MIT License
0 stars 0 forks source link

plot.hooks.shutdown is undefined #684

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I am new to flot and when I wanted to try it out I got this error:

Uncaught TypeError: Cannot call method 'push' of undefined

in line 155 of jquery.flot.crosshair.js

I could easily fix it by adding this in line 154:

plot.hooks.shutdown = plot.hooks.shutdown || []

Is this a know error will it be included in a future patch? Was I doing 
something wrong? Help appreciated!

P.S. I am using Chrome version 20 on Mac OS X 10.7 

Original issue reported on code.google.com by whitego...@gmail.com on 11 Apr 2012 at 2:52

GoogleCodeExporter commented 8 years ago
So far I haven't found a way to reproduce this problem, and my guess is that 
it's caused by a bug in another plugin or some unrelated code.  What other 
plugins are you using?  Does any of your own code do anything with the shutdown 
hook?  What version of jQuery are you using?

Original comment by dnsch...@gmail.com on 30 Apr 2012 at 6:01

GoogleCodeExporter commented 8 years ago
No follow-up; marking as invalid.

Original comment by dnsch...@gmail.com on 4 Jun 2012 at 2:36