drop pdf.js dependency

pull/1/head
ansuz 8 years ago
parent 20874c76f1
commit 0eb50b8b6c

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

File diff suppressed because one or more lines are too long

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

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

Loading…
Cancel
Save