{"size": 487, "ext": "js", "max_stars_repo_path": "public/fazka/js/custom/add_title_to_link.js", "max_stars_repo_name": "remrtehno/laravel-shop", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "public/fazka/js/custom/add_title_to_link.js", "max_issues_repo_name": "remrtehno/laravel-shop", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "public/fazka/js/custom/add_title_to_link.js", "max_forks_repo_name": "remrtehno/laravel-shop", "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.0555555556, "max_line_length": 60, "alphanum_fraction": 0.6016427105}
/**
 * Created by Ancora Themes on 26.05.2015.
 */

function ready() {
    var els = document.getElementsByTagName('a');
    for (var i = 0; i < els.length; i++) {
        if(els[i].getAttribute('title')!='Product')
            els[i].setAttribute('title', els[i].text);
    }

    var els1 = document.getElementsByClassName('sc_button');
    for (var i = 0; i < els1.length; i++) {
        els1[i].removeAttribute('title');
    }
}

document.addEventListener("DOMContentLoaded", ready);