jquery - .call() is not a function -


I have created a CSS3 animation plugin for jquery that works perfectly in JS Fiddle: < P> But when I use it in my reference "TypeError: the result of the expression '$ fnStop.call' is not [undefined] function."

Here's my code:

But I can not know why any thoughts?

In this way I have overwritten the jquery native close function:

  if (Modernizr.csstransitions) {$ fnStop = $ .fn.stop (); $ .fn.stop = Work (clear question, jumpstands) {if (this data ("CSS3 Atom")) {return methods.stop.apply (this, logic); } And {refund $ fnStop.call (this, argument); }}; }    

  $ fnStop = $ .fn.stop ();   

Should probably be:

  $ fnStop = $ .fn.stop;   

You probably want to point it out, not trigger (and save its result).

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -