Skip to content

Commit

Permalink
Fixed alias in and out problem by removing a removeInstance call
Browse files Browse the repository at this point in the history
  • Loading branch information
dseif committed Sep 26, 2011
1 parent 5835acc commit e70641d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/popcorn.unit.js
Expand Up @@ -2673,17 +2673,16 @@ test("Defaulting Empty End Values", function() {

test( "In/Out aliases", function() {
var popcorn = Popcorn( "#video" ),
expects = 4,
expects = 5,
count = 0,
counter = 0;

expect( expects );
stop( 5000 );
stop();

function plus() {
if ( ++count === expects ) {
Popcorn.removePlugin( "aliasTester" );
Popcorn.removeInstance( popcorn );
start();
}
}
Expand Down

0 comments on commit e70641d

Please sign in to comment.