jondot / graphene

Graphene is a realtime dashboard & graphing toolkit based on D3 and Backbone.
http://jondot.github.com/graphene
2.87k stars 231 forks source link

Respect 'model' property in views #19

Closed arctanb closed 12 years ago

arctanb commented 12 years ago

Right now things like

GaugeGadgetView.prototype.model = Graphene.TimeSeries;

aren't respected and instead everything is assumed to be a TimeSeries. This makes it difficult to extend. The proposed fix appears to resolve this issue.

jondot commented 12 years ago

Yes, you're completely right. Thanks!