app/templates/public/swagger-ui/swagger-ui.js
function(resource) {
		var resource = Docs.escapeResourceName(resource);
		if (resource == '') {
			$('.resource ul.endpoints').slideUp();
			return;
		}

		$('li#resource_' + resource).removeClass('active');

		var elem = $('li#resource_' + resource + ' ul.endpoints');
		elem.slideUp();
	}
function(resource) {
		var resource = Docs.escapeResourceName(resource);
		if (resource == '') {
			$('.resource ul.endpoints').slideUp();
			return;
		}

		$('li#resource_' + resource).removeClass('active');

		var elem = $('li#resource_' + resource + ' ul.endpoints');
		elem.slideUp();
	}
function ( resource ) { var resource = Docs . escapeResourceName ( resource ) ; if ( resource == '' ) { $ ( '.resource ul.endpoints' ) . slideUp ( ) ; return ; } $ ( 'li#resource_' + resource ) . removeClass ( 'active' ) ; var elem = $ ( 'li#resource_' + resource + ' ul.endpoints' ) ; elem . slideUp ( ) ; }
Collapse resource and mark as explicitly closed
Collapse resource and mark as explicitly closed