Permalink
Browse files

implement new feature .wait() alias .wait(null) alias .wait($)

  • Loading branch information...
1 parent c06191d commit bdd5a3966bb40aa4f556a3b81c5f669f658ea034 @PeterZalando PeterZalando committed Oct 8, 2012
Showing with 4 additions and 1 deletion.
  1. +3 −0 jquery-timing.js
  2. BIN jquery-timing.js.gz
  3. +1 −1 jquery-timing.min.js
  4. BIN jquery-timing.min.js.gz
View
@@ -443,6 +443,9 @@
originalOn.call(context, 'unwait', unwaitAction);
executionState._next = context;
+ if (trigger == null || trigger == jQuery) {
+ trigger = context;
+ }
if (typeof trigger == "function") {
trigger = trigger.apply(context, loopCounts(ongoingLoops));
}
View
Binary file not shown.
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
Binary file not shown.

0 comments on commit bdd5a39

Please sign in to comment.