Tweak the Angular view array threshold to make it slightly slower but better for the UI thread

This commit is contained in:
Joseph Schorr 2014-08-12 17:09:51 -04:00
parent 456834d535
commit 6517a4ed7f

View file

@ -121,7 +121,7 @@ quayApp = angular.module('quay', quayDependencies, function($provide, cfpLoading
* pauses in the UI for ngRepeat's when the array is significant in size.
*/
$provide.factory('AngularViewArray', ['$interval', function($interval) {
var ADDTIONAL_COUNT = 50;
var ADDTIONAL_COUNT = 20;
function _ViewArray() {
this.isVisible = false;