Open jcubic opened 5 years ago
Well, the npm rot.js package is currently meant for server-side (nodejs) usage only.
Stay tuned, as a TS-rewrite project is under development and I hope that the modernized version would offer npm packages both for the server and client side.
Great and thanks for this awesome project.
@jcubic Please try again with a new version: https://unpkg.com/rot-js@2.0.0/dist/rot.js
I've tried to use this file https://unpkg.com/rot-js/lib/rot.js (the only file) because rawgit will stop working and it give me errors, first global is not defined then exports and now after adding:
it give me error
Cannot set property 'isSupported' of undefined
because it try to execute:
event that exports is undefined. The fix is to use:
which i thing is stupid (false is boxed with object so you can set props on it but in UMD check it's not object). Here is my codepen where I wanted to use rot.js