tel8618217223380/jquery-utils

delayedObserver

Closed this issue · 3 comments

usering delayed observer gives his error 
"el.data("callback").apply is not a function"

Original issue reported on code.google.com by dco...@gmail.com on 17 Jun 2009 at 5:32

Sorry I don't have enough informations to replicate this bug .. seems to work 
fine here.

Original comment by hainea...@gmail.com on 4 Aug 2009 at 1:11

Original comment by hainea...@gmail.com on 4 Aug 2009 at 1:12

  • Changed state: Invalid
Sorry to revive an old issue but I had this same issue and thought I would post 
how I reproduced it.  It turns out I was passing the parameters in the wrong 
order, delay first, then the callback method.

My call looked something like this: $('myselector').delayedObserver(1, 
function() { /* do something */ });

Putting the parameters in the correct order fixed the issue.

Original comment by specman...@gmail.com on 31 Jan 2012 at 6:27