Permalink
Browse files

prettify now only repositions wires, it won't delete them

  • Loading branch information...
1 parent 4c5f05c commit 17d468eeeda83b720f52da242ab511d103cd91fe Daniel Thornton committed May 17, 2012
Showing with 0 additions and 15 deletions.
  1. +0 −15 web/js/reductions.js
View
15 web/js/reductions.js
@@ -405,22 +405,7 @@ var Reduction = Class.extend({
},
prettify_all: function(self) {
- var i; // iterator
- var nodes = []; // node array
- var resistors = []; // resistor array
-
- nodes = self.board.nodes;
- for (i = 0; i < nodes.length; i++) {
- self.prettify_node(nodes[i]);
- }
-
- resistors = self.board.resistors();
- for (i = 0; i < resistors.length; i++) {
- self.prettify_resistor(resistors[i]);
- }
-
self.prettify_force_tick();
-
return true;
},

0 comments on commit 17d468e

Please sign in to comment.