Javascript client for the PTAnywhere API.
NOTE: this library is no longer used. Instead, check submodules ptAnywhere.api.http and ptAnywhere.api.websocket in ptAnywhere-widget v2.x.
To download the dependencies, run the following command:
bower update
If you don't have Bower installed on your system, run the following first:
npm install -g bower
To test this library using only the Jasmine testing framework open the file test/SpecRunner.html.
Please, note that before running the tests you need to download the dependencies.
You can test this library using Karma by following these steps:
npm install karma karma-jasmine karma-chrome-launcher karma-firefox-launcher --save-dev
- Run it
./node_modules/karma/bin/karma start
Please, note that before running the tests you need to download the dependencies.