Browser-side, event-driven JavaScript library for communicating with clopenbadger servers.
JavaScript
Switch branches/tags
Nothing to show
Pull request Compare This branch is 10 commits behind toolness:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
vendor
README.md
clopenbadger.js

README.md

This is a consumer library for the Clopenbadger API that can be used from Webmaker Applications to display earned & available badges for users, as well as credit user behaviors.

Prerequisites

All prerequisites are contained in the vendor directory.

Currently this library needs requirejs, jquery, and a special module called backbone-events, which simply contains the Backbone.Events implementation. If your project already uses Backbone, you can use a much smaller version of the library, or you can create your own shim that uses your own eventing library as an implementation.

Usage

For examples of this library in use, see test/all-tests.js.