Skip to content

Commit

Permalink
fix jshint issues and expected outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
gkatsev committed Oct 20, 2015
1 parent 471702e commit 1250e75
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion src/js/tracks/text-track-list-converter.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* @private
*/
let trackToJson_ = function(track) {
let ret {
let ret = {
kind: track.kind,
label: track.label,
language: track.language,
Expand Down
3 changes: 0 additions & 3 deletions test/unit/tracks/text-track-list-converter.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ if (Html5.supportsNativeTextTracks()) {
track.label = 'English';

a.deepEqual(cleanup(c.trackToJson_(track.track)), {
src: undefined,
kind: 'captions',
label: 'English',
language: 'en',
Expand Down Expand Up @@ -71,13 +70,11 @@ if (Html5.supportsNativeTextTracks()) {
};

a.deepEqual(cleanup(c.textTracksToJson(tech)), [{
src: undefined,
kind: 'captions',
label: 'Spanish',
language: 'es',
mode: 'disabled'
}, {
src: undefined,
kind: 'captions',
label: 'English',
language: 'en',
Expand Down

0 comments on commit 1250e75

Please sign in to comment.