]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
[#721] Removed old references to instance methods t721
authorChristopher De Cairos <chris.decairos@gmail.com>
Thu, 22 Sep 2011 19:47:42 +0000 (15:47 -0400)
committerChristopher De Cairos <chris.decairos@gmail.com>
Thu, 22 Sep 2011 19:47:42 +0000 (15:47 -0400)
modules/timeline-sources/popcorn.timeline-sources.unit.js

index 362158b9f20537965c11714646236656c3df4c54..45d37b4b4907d2313f12ad6e7901ba5f41f742dc 100644 (file)
@@ -50,8 +50,7 @@
     expect( 3 );
 
     var count = 0,
-        p = Popcorn.getInstanceById( "video" )
-        .volume( 0 );
+        p = Popcorn.instances[ 0 ].volume( 0 );
 
     function plus() {
       if ( ++count === 3 ) {