You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
printDeprecationWarning("".concat(attrname," attribute is deprecated. Pass the options object to vs-repeat attribute instead <link>."));
160
+
functionattrDeprecated(attrname,$element){
161
+
printDeprecationWarning($element,"".concat(attrname," attribute is deprecated. Pass the options object to vs-repeat attribute instead https://github.com/kamilkp/angular-vs-repeat#options"));
162
162
}
163
163
164
164
vardefaultOptions={
@@ -191,7 +191,7 @@ function _slicedToArray(arr, i) { if (Array.isArray(arr)) { return arr; } else i
console.warn('vsRepeat: size mismatch. Expected size '+expectedSize+'px whereas actual size is '+repeatContainer[0][scrollSize]+'px. Fix vsSize on element:',$element[0]);
423
-
}
424
419
}
425
420
}
426
421
@@ -432,7 +427,7 @@ function _slicedToArray(arr, i) { if (Array.isArray(arr)) { return arr; } else i
432
427
getFromMeasured();
433
428
434
429
if($scope.$root&&!$scope.$root.$$phase){
435
-
$scope.$apply();
430
+
$scope.$digest();
436
431
}
437
432
}
438
433
@@ -455,24 +450,30 @@ function _slicedToArray(arr, i) { if (Array.isArray(arr)) { return arr; } else i
console.warn('vsRepeat: size mismatch. Expected size '+expectedSize+'px whereas actual size is '+containerSize+'px. Fix vsSize on element:',$element[0]);
0 commit comments