Browse Source

drop pdf.js dependency

master
ansuz 3 years ago
parent
commit
0eb50b8b6c
4 changed files with 5 additions and 5 deletions
  1. 3
      bower.json
  2. 2
      www/common/media-tag.js
  3. 1
      www/media/inner.html
  4. 4
      www/media/main.js

3
bower.json

@ -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"
}
}

2
www/common/media-tag.js
File diff suppressed because it is too large
View File

1
www/media/inner.html

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

4
www/media/main.js

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

Loading…
Cancel
Save