Skip to content

Commit

Permalink
= Tailing Commas in JSON IE8 Error Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pcting committed Mar 18, 2015
1 parent 21e7f93 commit db56965
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/vtt.js
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@
if (cue.vertical === "") {
this.applyStyles({
left: this.formatStyle(textPos, "%"),
width: this.formatStyle(cue.size, "%"),
width: this.formatStyle(cue.size, "%")
});
// Vertical box orientation; textPos is the distance from the top edge of the
// area to the top edge of the box and cue.size is the height extending
Expand All @@ -814,7 +814,7 @@
left: this.formatStyle(box.left, "px"),
right: this.formatStyle(box.right, "px"),
height: this.formatStyle(box.height, "px"),
width: this.formatStyle(box.width, "px"),
width: this.formatStyle(box.width, "px")
});
};
}
Expand Down
2 changes: 1 addition & 1 deletion lib/vttregion.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

var scrollSetting = {
"": true,
"up": true,
"up": true
};

function findScrollSetting(value) {
Expand Down

0 comments on commit db56965

Please sign in to comment.