Skip to content

Commit

Permalink
cleaned up more jshint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jlacivita committed Jan 26, 2016
1 parent b07014f commit 74f9e35
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions dist/hls.js

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion src/utils/cea-708-interpreter.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ class CEA708Interpreter {

_createCue()
{
var VTTCue = window.VTTCue;

this.cue = new VTTCue(-1, -1, '');
this.cue.text = '';
this.cue.pauseOnExit = false;
Expand Down Expand Up @@ -60,7 +62,7 @@ class CEA708Interpreter {
byte = bytes[position++];
ccbyte1 = 0x7F & bytes[position++];
ccbyte2 = 0x7F & bytes[position++];
ccValid = !((4 & byte) == 0);
ccValid = ((4 & byte) === 0 ? false : true);
ccType = (3 & byte);

if (ccbyte1 === 0 && ccbyte2 === 0)
Expand Down

0 comments on commit 74f9e35

Please sign in to comment.