diff --git a/js/menus/LatticeMenuView.js b/js/menus/LatticeMenuView.js index ecb7c1bdd8f37923fce375803157e4fc30b53d6d..2a154bbf04e080de9740dd4b7623d252143ef29c 100644 --- a/js/menus/LatticeMenuView.js +++ b/js/menus/LatticeMenuView.js @@ -2,6 +2,8 @@ * Created by aghassaei on 1/26/15. */ +//todo scale input update renders view + LatticeMenuView = Backbone.View.extend({ @@ -23,15 +25,6 @@ LatticeMenuView = Backbone.View.extend({ this.listenTo(globals.lattice, "change", this.render); }, - _updateNumber: function(e, property){ - e.preventDefault(); - var newVal = parseFloat($(e.target).val()); - if (isNaN(newVal)) return; - var object = globals.lattice.get(property); - object[$(e.target).data("type")] = newVal; - globals.lattice.trigger("change:"+property); - }, - _clearCells: function(e){ e.preventDefault(); globals.lattice.clearCells();