{"size": 602, "ext": "js", "max_stars_repo_path": "assets/js/models/abstract.js", "max_stars_repo_name": "mycetophorae/endeavour-ui", "max_stars_repo_stars_event_min_datetime": "2018-08-05T23:42:01.000Z", "max_stars_repo_stars_event_max_datetime": "2018-12-18T23:06:43.000Z", "max_issues_repo_path": "assets/js/models/abstract.js", "max_issues_repo_name": "mycetophorae/endeavour-ui", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "assets/js/models/abstract.js", "max_forks_repo_name": "mycetophorae/endeavour-ui", "max_forks_repo_forks_event_min_datetime": "2018-08-05T23:41:33.000Z", "max_forks_repo_forks_event_max_datetime": "2018-08-05T23:41:33.000Z"}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 26.1739130435, "max_line_length": 89, "alphanum_fraction": 0.6212624585}
$(function() {

    Endeavour.Model.Abstract = Backbone.Model.extend({

        idAttribute: 'ID',

        sync: function(method, model, options) {
            options.beforeSend = Endeavour.ajaxSetHeaders;
            return Backbone.Model.prototype.sync.call(this, method, model, options);
        },

    });

    Endeavour.Collection.Abstract = Backbone.Collection.extend({

        sync: function(method, model, options) {
            options.beforeSend = Endeavour.ajaxSetHeaders;
            return Backbone.Collection.prototype.sync.call(this, method, model, options);
        },

    });

});