apps/files/js/app.js
Function initialize
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
initialize: function() {
this.navigation = new OCA.Files.Navigation($('#app-navigation'));
this.$showHiddenFiles = $('input#showhiddenfilesToggle');
var showHidden = $('#showHiddenFiles').val() === "1";
this.$showHiddenFiles.prop('checked', showHidden);