]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
[#324] line too long
authorScottDowne <sdowne@learn.senecac.on.ca>
Fri, 11 Mar 2011 21:32:45 +0000 (16:32 -0500)
committerScottDowne <sdowne@learn.senecac.on.ca>
Fri, 11 Mar 2011 21:32:45 +0000 (16:32 -0500)
popcorn.js

index 87c8958da06d8d6941a14cd5c92ac79ca74362a8..24ba6c76e59ba41ac39d951584a4adea0d79f091 100644 (file)
       matches = rIdExp.exec( entity );
 
       // get video element by id or reference
-      this.video = matches && matches.length && matches[ 2 ] ? document.getElementById( matches[ 2 ] ) : entity;
+      this.video = matches && matches.length && matches[ 2 ] ?
+                    document.getElementById( matches[ 2 ] ) :
+                    entity;
 
       Popcorn.addInstance( this );