From: David Seifried Date: Mon, 26 Sep 2011 21:44:59 +0000 (-0400) Subject: Fixed alias in and out problem by removing a removeInstance call X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=e70641da9c6b95e2b8ce459225beaad3642bd2bd;p=popcorn-js.git Fixed alias in and out problem by removing a removeInstance call --- diff --git a/test/popcorn.unit.js b/test/popcorn.unit.js index 9884244..5f624ea 100644 --- a/test/popcorn.unit.js +++ b/test/popcorn.unit.js @@ -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(); } }