{"size": 634, "ext": "js", "max_stars_repo_path": "docs/scripts/main.js", "max_stars_repo_name": "digital-cyborg/website", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "docs/scripts/main.js", "max_issues_repo_name": "digital-cyborg/website", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "docs/scripts/main.js", "max_forks_repo_name": "digital-cyborg/website", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 27.5652173913, "max_line_length": 84, "alphanum_fraction": 0.5914826498}
console.log('Startup');

$(document).ready(function () {
	$("#navHealthcare").click(function() {
        console.log('Clicked Healthcare');
        navigate('healthcare.md');
	});
});

function navigate(section){
    console.log('Loading ' + section);
    $.ajax({
        url: section,
        context: document.body,
        success: function(mdText){
          //where text will be the text returned by the ajax call
          var converter = new showdown.Converter();
          var htmlText = converter.makeHtml(mdText);
          $(".divRow").append(htmlText); //append this to a div with class outputDiv
        }
    });    
}
