Showing the changes to assets/javascripts/debug.js (1 of 10 files). Show all
Unified · Split
| @@ -75,7 +75,7 @@ this.viewTree = function (view, level, visited) { · 74 unmodified lines | |||
| 75 | if (visited == null) { | 75 | if (visited == null) { |
| 76 | visited = []; | 76 | visited = []; |
| 77 | } | 77 | } |
| 78 | if (visited.indexOf(view) >= 0) { | 78 | if (visited.includes(view)) { |
| 79 | return; | 79 | return; |
| 80 | } | 80 | } |
| 81 | visited.push(view); | 81 | visited.push(view); |