Skip to content

Instantly share code, notes, and snippets.

View thefon's full-sized avatar

Adrian Smith thefon

View GitHub Profile
@kanemathers
kanemathers / gist:5158245
Created March 14, 2013 02:08
AngularJS Rickshaw directive
.directive('graph', [
function()
{
/* Wrap the ajax graph and strip out the ajax shit. It's Angulars
* job to handle that.
*/
var AngularRickshaw = Rickshaw.Class.create(Rickshaw.Graph.Ajax, {
initialize: function($super, args)
{
this.request = function() {};