mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 09:45:42 +02:00
Moves constants to avoid dependency on PDFView
This commit is contained in:
parent
f1851c6393
commit
a1eca2084d
6 changed files with 44 additions and 25 deletions
|
@ -14,11 +14,13 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
/* globals mozL10n, RenderingStates, THUMBNAIL_SCROLL_MARGIN, Promise,
|
||||
watchScroll, getVisibleElements, scrollIntoView, PDFPageSource */
|
||||
/* globals mozL10n, RenderingStates, Promise, scrollIntoView, PDFPageSource,
|
||||
watchScroll, getVisibleElements */
|
||||
|
||||
'use strict';
|
||||
|
||||
var THUMBNAIL_SCROLL_MARGIN = -19;
|
||||
|
||||
var ThumbnailView = function thumbnailView(container, id, defaultViewport,
|
||||
linkService, renderingQueue,
|
||||
pageSource) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue