Supports node, jQuery, and angular.
- jQuery >= 1.5
- Angular >= 1.0.8
- node >= 0.8.0
bower install catalyze
npm install catalyze
Tests are powered by mocha and intended to be run from node. This covers basic testing (not exhaustive, just enough to make sure each function works) of the node wrapper and smoke testing of the angular and jQuery wrappers.
After cloning + npm install
ing, to build:
npm build
To run tests (this will build before running the tests):
npm test
<script src="bower_components/catalyze/dist/jquery-catalyze.js"></script>
<script>
$.catalyze.config({
apiKey: "...",
appId: "..."
});
$.catalyze.signIn(...)
</script>
<script src="bower_components/catalyze/dist/angular-catalyze.js"></script>
<script>
angular.module("MyApp", ["catalyze"])
.controller("MyController", function($scope, catalyze) {
catalyze.config({
apiKey: "...",
appId: "..."
});
catalyze.signIn(...);
});
</script>
var catalyze = require("catalyze");
catalyze.config({
apiKey: "...",
appId: "..."
});
catalyze.signIn(...);