This website requires JavaScript.
Explore
Help
Sign In
dnrops
/
cryptpad
mirror of
https://github.com/xwiki-labs/cryptpad
Watch
1
Star
0
Fork
You've already forked cryptpad
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
1895d6cbd8
cryptpad
/
www
/
common
/
outer
/
testworker.js
5 lines
99 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Fallback to async store in self.crypto doesn't exist in webworkers (ie/edge)
2018-06-23 01:43:07 +08:00
if
(
!
self
.
crypto
&&
!
self
.
msCrypto
)
{
throw
new
Error
(
"E_NOCRYPTO"
)
;
}
lint compliance
2018-06-25 19:42:17 +08:00
self
.
postMessage
(
"OK"
)
;