mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-07-21 14:08:48 -04:00
making zlib usable in browsers
This commit is contained in:
parent
20befe4bd6
commit
5b3286df4d
2 changed files with 139 additions and 137 deletions
|
@ -11,7 +11,7 @@ global.WebCrypto = require('node-webcrypto-ossl');
|
|||
// application libraries to test
|
||||
global.$ = global.jQuery = require('./jquery-3.3.1');
|
||||
global.RawDeflate = require('./rawinflate-0.3').RawDeflate;
|
||||
require('./zlib-1.2.11');
|
||||
global.zlib = require('./zlib-1.2.11').zlib;
|
||||
require('./prettify');
|
||||
global.prettyPrint = window.PR.prettyPrint;
|
||||
global.prettyPrintOne = window.PR.prettyPrintOne;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue