{"size": 444, "ext": "js", "max_stars_repo_path": "js/app.js", "max_stars_repo_name": "Lucero07/api-bitacora", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "js/app.js", "max_issues_repo_name": "Lucero07/api-bitacora", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "js/app.js", "max_forks_repo_name": "Lucero07/api-bitacora", "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": 29.6, "max_line_length": 100, "alphanum_fraction": 0.6238738739}
// $(document).ready(function(){
//    // the "href" attribute of .modal-trigger must specify the modal ID that wants to be triggered
//    $('.modal').modal();
//  });


 $(document).ready(function () {
 	$('.modal').modal();
  	$('[data-publication]').on('click', function (event) {
 		let container = document.getElementById('publicaciones');
 		let type = $(event.currentTarget).data('publication');
 		publish(container, type);
 	});
 });
