Permalink
Browse files

Fix hangs for in/out alias tests on Chrome [#938]

  • Loading branch information...
2 parents 16a3cac + bc7664c commit 20439d44f4b3d5313bb318446b4f172377d3869f @cadecairos committed Mar 6, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 test/popcorn.unit.js
View
@@ -3321,11 +3321,11 @@ test( "In/Out aliases", function() {
out: 3
});
- popcorn.on( "seeked", function() {
+ popcorn.listen( "seeked", function() {
this.off( "seeked" ).play( 0 );
- })
+ });
- popcorn.currentTime( 0 ).pause();
+ popcorn.currentTime( 0 );
ok( popcorn.data.events[ "in" ], "in is a valid alias for start" );
plus();

0 comments on commit 20439d4

Please sign in to comment.