UNPKG

rickshaw

Version:

Rickshaw is a JavaScript toolkit for creating interactive time series graphs, developed at [Shutterstock](http://www.shutterstock.com)

15 lines (11 loc) 279 B
Rickshaw.namespace('Rickshaw.Graph.JSONP'); Rickshaw.Graph.JSONP = Rickshaw.Class.create( Rickshaw.Graph.Ajax, { request: function() { $.ajax( { url: this.dataURL, dataType: 'jsonp', success: this.success.bind(this), error: this.error.bind(this) } ); } } );