Fix errors reported by the key-spacing ESLint rule

http://eslint.org/docs/rules/key-spacing
This commit is contained in:
Jonas Jenwald 2016-12-10 21:17:11 +01:00
parent 6606540fe4
commit 86ba634c97
2 changed files with 3 additions and 3 deletions

View File

@ -86,7 +86,7 @@ var Type1CharString = (function Type1CharStringClosure() {
'rrcurveto': [8],
'callsubr': [10],
'flex': [12, 35],
'drop' : [12, 18],
'drop': [12, 18],
'endchar': [14],
'rmoveto': [21],
'hmoveto': [22],
@ -483,7 +483,7 @@ var Type1Parser = (function Type1ParserClosure() {
return token === 'true' ? 1 : 0;
},
nextChar : function Type1_nextChar() {
nextChar: function Type1_nextChar() {
return (this.currentChar = this.stream.getByte());
},

View File

@ -54,7 +54,7 @@ function getViewerConfiguration() {
return {
appContainer: document.body,
mainContainer: document.getElementById('viewerContainer'),
viewerContainer: document.getElementById('viewer'),
viewerContainer: document.getElementById('viewer'),
eventBus: null, // using global event bus with DOM events
toolbar: {
container: document.getElementById('toolbarViewer'),