Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 17d468eeeda83b720f52da242ab511d103cd91fe 1 parent 4c5f05c
Daniel Thornton authored
Showing with 0 additions and 15 deletions.
  1. +0 −15 web/js/reductions.js
15 web/js/reductions.js
View
@@ -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;
},
Please sign in to comment.
Something went wrong with that request. Please try again.