}
}
};
-
+
+ // alias for exec function
+ Popcorn.p.cue = Popcorn.p.exec;
// Exposes Popcorn to global context
global.Popcorn = Popcorn;
hasLooped = false,
loop = 0;
- expect( expects + 1 );
+ expect( expects + 4 );
function plus(){
if ( ++count == expects ) {
setTimeout( function() {
equals( loop, expects, "exec callback repeat check, only called twice" );
+ ok( Popcorn.p.cue, "Popcorn.p.cue exists" );
+ equal( typeof Popcorn.p.cue, "function", "Popcorn.p.cue is a function" );
+ deepEqual( Popcorn.p.cue, Popcorn.p.exec, "Popcorn.p.cue equals Popcorn.p.exec" );
Popcorn.removePlugin( popped, "exec" );
start();