jshint cleanup
Always use `===`. Don't use double-quotes for string literals.
Showing
1 changed file
with
3 additions
and
3 deletions
... | @@ -289,7 +289,7 @@ ProgramStream = function() { | ... | @@ -289,7 +289,7 @@ ProgramStream = function() { |
289 | event.pes.dts = pes.dts; | 289 | event.pes.dts = pes.dts; |
290 | event.pes.pid = pes.pid; | 290 | event.pes.pid = pes.pid; |
291 | event.pes.dataAlignmentIndicator = pes.dataAlignmentIndicator; | 291 | event.pes.dataAlignmentIndicator = pes.dataAlignmentIndicator; |
292 | event.pes.payloadUnitStartIndicator = pes.payloadUnitStartIndicator | 292 | event.pes.payloadUnitStartIndicator = pes.payloadUnitStartIndicator; |
293 | } | 293 | } |
294 | 294 | ||
295 | // do nothing if there is no buffered data | 295 | // do nothing if there is no buffered data |
... | @@ -395,7 +395,7 @@ AacStream = function() { | ... | @@ -395,7 +395,7 @@ AacStream = function() { |
395 | self = this; | 395 | self = this; |
396 | 396 | ||
397 | this.push = function(packet) { | 397 | this.push = function(packet) { |
398 | if (packet.type == "audio") { | 398 | if (packet.type === 'audio') { |
399 | this.trigger('data', packet); | 399 | this.trigger('data', packet); |
400 | } | 400 | } |
401 | }; | 401 | }; |
... | @@ -412,7 +412,7 @@ H264Stream = function() { | ... | @@ -412,7 +412,7 @@ H264Stream = function() { |
412 | self = this; | 412 | self = this; |
413 | 413 | ||
414 | this.push = function(packet) { | 414 | this.push = function(packet) { |
415 | if (packet.type == "video") { | 415 | if (packet.type === 'video') { |
416 | this.trigger('data', packet); | 416 | this.trigger('data', packet); |
417 | } | 417 | } |
418 | }; | 418 | }; | ... | ... |
-
Please register or sign in to post a comment