{"size": 335, "ext": "js", "max_stars_repo_path": "www/wp-content/plugins/ele-custom-skin/assets/js/ecs_admin_bar_menu.js", "max_stars_repo_name": "5jv/wdps", "max_stars_repo_stars_event_min_datetime": "2021-02-23T20:50:37.000Z", "max_stars_repo_stars_event_max_datetime": "2021-02-23T20:50:37.000Z", "max_issues_repo_path": "www/wp-content/plugins/ele-custom-skin/assets/js/ecs_admin_bar_menu.js", "max_issues_repo_name": "5jv/wdps", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "www/wp-content/plugins/ele-custom-skin/assets/js/ecs_admin_bar_menu.js", "max_forks_repo_name": "5jv/wdps", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 30.4545454545, "max_line_length": 120, "alphanum_fraction": 0.5313432836}
function ECS_update_admin_bar_menu(items){
  
  for (i = 0; i < items.length; i++) {
    if ( !jQuery( "#"+items[i].id ).length ) {
 
        itemtemplate='<li id="'+items[i].id+'"><a class="ab-item" href="'+items[i].href+'">'+items[i].title+'</a></li>';
        jQuery( "#"+items[i].parent).append( itemtemplate );
       
    }
  }
}