Lint: correct code style violations

Manual observations and working with other linting tools found these.
This commit is contained in:
Tim van der Meij 2016-11-01 15:04:21 +01:00
parent 978b214c92
commit 5194e68134
13 changed files with 27 additions and 34 deletions

View file

@ -509,7 +509,7 @@ var TextWidgetAnnotationElement = (
// TODO: This duplicates some of the logic in CanvasGraphics.setFont().
var style = element.style;
style.fontSize = this.data.fontSize + 'px';
style.direction = (this.data.fontDirection < 0 ? 'rtl': 'ltr');
style.direction = (this.data.fontDirection < 0 ? 'rtl' : 'ltr');
if (!font) {
return;