drop pdf.js dependency

This commit is contained in:
ansuz 2017-06-15 11:19:06 +02:00
parent 20874c76f1
commit 0eb50b8b6c
4 changed files with 5 additions and 5 deletions

View File

@ -37,7 +37,6 @@
"diff-dom": "^2.1.1",
"alertifyjs": "^1.0.11",
"scrypt-async": "^1.2.0",
"bootstrap": "#v4.0.0-alpha.6",
"pdfjs-dist": "^1.8.398"
"bootstrap": "#v4.0.0-alpha.6"
}
}

File diff suppressed because one or more lines are too long

View File

@ -8,6 +8,7 @@
<style>
html, body {
margin: 0px;
height: 100%;
}
.cryptpad-toolbar {
margin-bottom: 1px;

View File

@ -6,8 +6,8 @@ define([
'/common/cryptpad-common.js',
//'/common/visible.js',
//'/common/notify.js',
'pdfjs-dist/build/pdf',
'pdfjs-dist/build/pdf.worker',
//'pdfjs-dist/build/pdf',
//'pdfjs-dist/build/pdf.worker',
'/bower_components/tweetnacl/nacl-fast.min.js',
'/bower_components/file-saver/FileSaver.min.js',
], function ($, Crypto, realtimeInput, Toolbar, Cryptpad /*, Visible, Notify*/) {