mleibman/SlickGrid — pull request #818 by mjonas87 (2013-12-03 03:51:01+00:00)
Title: Improved infinite loop avoidance in autoSizeColumns()

Fixed steps in autoSizeColumns() that detects infinite loops for shrink and grow operations. In some cases the prevTotal exceeded total (for grow) and was less than total (for shrink). The existing check simply checked if the 2 values were equal, but not if prevTotal had gone beyond the proper bounds, resulting in an infinite loop.