From 8dfd1a1f3b929596a3894226765d8ac016bb668d Mon Sep 17 00:00:00 2001 From: Michael Keller Date: Fri, 29 Mar 2013 18:50:08 -0700 Subject: [PATCH] clean up comments --- src/torque.js | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/src/torque.js b/src/torque.js index cf6f929..d6470ae 100644 --- a/src/torque.js +++ b/src/torque.js @@ -348,37 +348,6 @@ function init_slider( that ){ } }); - // // Setup the slider with backbone.js - // var SliderModel = Backbone.Model.extend({}); - // var SliderView = Backbone.View.extend({ - // el : $("#slider"), - // events : { - // "slide" : "updateVal" - // }, - // updateVal : function(event, ui) { - // var val = ui.value; - // this.model.set({slidervalue : val}); - // } - // }); - - // var ValueView = Backbone.View.extend({ - // initialize: function(args) { - // _.bindAll(this, 'updateValue'); - // this.model.bind('change:slidervalue', this.updateValue); - // }, - // updateValue: function() { - // var value = this.model.get('slidervalue'); - // var date_s = new Date(value*1000); - // console.log(date_s.toString()) - // // $("#sliderVal").val(value +' ' + date_s.toString()); - // that.scrub(value); - // } - // }); - - // var sliderModel = new SliderModel; - - // var sliderView = new SliderView({model : sliderModel }); - // var valView = new ValueView({model : sliderModel}); }; /**