Backbone wrapper for the Gitlab API
JavaScript CoffeeScript CSS
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

readme.md

Backbone for the GitLab API

backbone-gitlab is an open-source JavaScript library built on Backbone.js, to be used in browsers to load data via the GitLab API.

NPM

Compiling

This library is written in Coffeescript, to compile run:

npm run build-js

If you wish to watch for changes, such as when writing new tests, you can run

npm run watch-js

Testing

The library ships with a testing suite that makes requests to a fake canned server. First you need to install the dependencies:

npm install

Then run this command from the root folder:

npm run build-js
npm run test

This command will start up a canned server for stubbing tests and open a test/index.html in the browser.

License

MIT