diff --git a/Preview/build/debug/main.js b/Preview/build/debug/main.js
index 7655643..f3aa5c6 100644
--- a/Preview/build/debug/main.js
+++ b/Preview/build/debug/main.js
@@ -78,49 +78,51 @@
}
renderPDF(file) {
- var q, status;
- status = `${file.info.name} (${file.info.size} Kb)`;
- q = this._api.mid();
- return file.read("binary").then((d) => {
- this._api.loading(q, "RENDERING");
- ($(this.view)).removeClass();
- return PDFJS.getDocument({
- data: d
- }).then((pdf) => {
- var fn;
- fn = (p) => {
- if (p > pdf.numPages) {
- this.setStatus(`${status} - loaded`);
- return this._api.loaded(q, "OK");
- }
- return pdf.getPage(p).then((page) => {
- var canvas, context, div, renderContext, scale, viewport;
- scale = 1.5;
- viewport = page.getViewport(scale);
- div = ($("
")).attr("id", "page-" + (page.pageIndex + 1));
- ($(this.view)).append(div);
- canvas = ($("