Moves constants to avoid dependency on PDFView

This commit is contained in:
Yury Delendik 2014-09-15 15:46:01 -05:00
parent f1851c6393
commit a1eca2084d
6 changed files with 44 additions and 25 deletions

View file

@ -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) {