Closed bkjohnson closed 7 years ago
I ended up going with bower like you said in the readme, but I first tried with npm since I saw it published there so I thought I'd mention this. When I installed rot using npm loading the file at node_modules/rot-js/lib/rot.js throws an error:
npm
node_modules/rot-js/lib/rot.js
Specifically it is talking about this line
Just thought I'd bring this to your attention. So far I haven't had problems with the bower version.
The npm package is meant for NodeJS only. Browser users are supposed to simply include https://github.com/ondras/rot.js/blob/master/rot.min.js using a <script> node.
<script>
Got it, thanks!
I ended up going with bower like you said in the readme, but I first tried with
npm
since I saw it published there so I thought I'd mention this. When I installed rot usingnpm
loading the file atnode_modules/rot-js/lib/rot.js
throws an error:Specifically it is talking about this line
Just thought I'd bring this to your attention. So far I haven't had problems with the bower version.