-
Notifications
You must be signed in to change notification settings - Fork 811
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adding classes to pluginviewer.js #2642
adding classes to pluginviewer.js #2642
Conversation
js/pluginsviewer.js
Outdated
} | ||
|
||
function hideCurrentPage(viewer) { | ||
const hideCurrentPage = (viewer) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a top level function. Should remain function FNAME(...) { ... }
js/pluginsviewer.js
Outdated
@@ -222,7 +203,7 @@ function hideCurrentPage(viewer) { | |||
viewer.refreshCanvas(); | |||
} | |||
|
|||
function showNextPage(viewer) { | |||
const showNextPage = (viewer) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a top level function. Should remain function FNAME(...) { ... }
js/pluginsviewer.js
Outdated
@@ -239,7 +220,7 @@ function showNextPage(viewer) { | |||
viewer.refreshCanvas(); | |||
} | |||
|
|||
function viewerClicked(viewer, event) { | |||
const viewerClicked = (viewer, event) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a top level function. Should remain function FNAME(...) { ... }
js/pluginsviewer.js
Outdated
@@ -264,7 +245,7 @@ function viewerClicked(viewer, event) { | |||
} | |||
} | |||
|
|||
function loadThumbnailContainerHandler(viewer) { | |||
const loadThumbnailContainerHandler = (viewer) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a top level function. Should remain function FNAME(...) { ... }
js/pluginsviewer.js
Outdated
@@ -315,11 +296,11 @@ function loadThumbnailContainerHandler(viewer) { | |||
}); | |||
} | |||
|
|||
function makeViewerBitmap(viewer, data, name, callback, extras) { | |||
const makeViewerBitmap = (viewer, data, name, callback, extras) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a top level function. Should remain function FNAME(...) { ... }
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments
part of issue #2629