Closed becojo closed 11 years ago
sorry for the late response man,
the source has moved to index.js
, so you should change stuff there and then run $ make
.
It will be great to use something like anthonyshort/after-transition instead of addEventListener
.
after-transition
will invoke the callback immediately if the browser doesn't support them, otherwise the callback will be invoked after transitionend
i'm going to do this in the coming days anyway :D
Using setTimeout can sometime trigger the end event when the transition is still on going (e.g., the browser paused the transition because the window didn't had focus). Using the transitionend event fixes this problem.
The browser compatibility of transitionend event