Browse Source

Fix errors reported by the `key-spacing` ESLint rule

http://eslint.org/docs/rules/key-spacing
Jonas Jenwald 8 years ago
parent
commit
86ba634c97
  1. 4
      src/core/type1_parser.js
  2. 2
      web/viewer.js

4
src/core/type1_parser.js

@ -86,7 +86,7 @@ var Type1CharString = (function Type1CharStringClosure() { @@ -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() { @@ -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());
},

2
web/viewer.js

@ -54,7 +54,7 @@ function getViewerConfiguration() { @@ -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'),

Loading…
Cancel
Save