BTMorton / angular2-grid

A drag/drop/resize grid-based plugin directive for angular2
https://bmorton.co.uk/angular/
MIT License
354 stars 159 forks source link

Request: Refactor "while" loops to "for" loops #264

Closed rufreakde closed 6 years ago

rufreakde commented 7 years ago

There are some problems with infinite loops in the code and most of the while loops can be changed to for loops.

I find while loops to be more affected by bugs than for loops. Maybe you can consider to change them to for loops?

Greetings, rufrekade

BTMorton commented 6 years ago

This should be done as of v2.2.0 :)