Skip to content

Instantly share code, notes, and snippets.

View gorbach's full-sized avatar

Gorbach Oleksii gorbach

  • Turnkey lender
  • Kharkiv, Ukraine
View GitHub Profile
@gorbach
gorbach / gauge.js
Created March 12, 2014 06:56 — forked from tomerd/gauge.js
function Gauge(placeholderName, configuration)
{
this.placeholderName = placeholderName;
var self = this; // for internal d3 functions
this.configure = function(configuration)
{
this.config = configuration;
namespace.views.MyWizard = Backbone.Views.extend({
initialize: function() {
_.bindAll(this, 'render', 'wizardMethod');
}
render: function() {
this.wizardMethod();
return this;
},