[Build] Remove/qualify for-in usages

This commit is contained in:
Victor Woeltjen
2016-03-04 13:10:23 -08:00
parent fb56b3ad56
commit 134452582c
3 changed files with 10 additions and 18 deletions

View File

@ -90,12 +90,10 @@ define(function () {
// For documentation, see checkAll below
function checkAll() {
var type;
// Reset all the other options to original/default position
for (type in $scope.ngModel.checked) {
Object.keys($scope.ngModel.checked).forEach(function (type) {
$scope.ngModel.checked[type] = false;
}
});
// Change the filters string depending on checkAll status
if ($scope.ngModel.checkAll) {