зеркало из https://github.com/mozilla/gombot.git
41657124dc | ||
---|---|---|
.. | ||
README.md | ||
client.js | ||
crypto.js | ||
sjcl.js | ||
urlparse.js |
README.md
Here lives javascript code designed to run on the client. This includes:
urlparse.js
a pure-javascript url parsing librarysjcl.js
- the awesome Stanford Javascript Crypto Librarycrypto.js
- a small Gombot specific wrapper around SJCL that holds constants used in the product and exposes a small, focused high level API. Designed to be run on both the client and server.client.js
- a small networking library that abstracts clients from protocol details. used on both client and server.
Usage
Read the source for the API, have a look at ../tests/*
which are the primary clients of these libraries in this tree. Then:
cat urlparse.js sjcl.js crypto.js client.js > client_lib.js
- include that in your addon
- call its api to do stuff