<commit_before>define([
    'jquery',
    'underscore',
    'backbone',
    'views/Calendar',
    'views/EventEditor',
    'collections/Events'
], function ($, _, Backbone, CalendarView, EventEditorView, Events) {
    return Backbone.Router.extend({
        routes: {
            // Default
            "*actions": "index",
            "editor": "editor",
            "catalog": ""
        },

        initialize: function () {
        },

        index: function () {
            new CalendarView({collection: new Events()});
        },

        editor: function () {
            new EventEditorView();
        }
    });

    // var initialize = function(){
    //     var app_router = new AppRouter;
    //     app_router.on('showProjects', function(){
    //       // Call render on the module we loaded in via the dependency array
    //       // 'views/projects/list'
    //       var projectListView = new ProjectListView();
    //       projectListView.render();
    //     });
    //       // As above, call render on our loaded module
    //       // 'views/users/list'
    //     app_router.on('showUsers', function(){
    //       var userListView = new UserListView();
    //       userListView.render();
    //     });
    //     app_router.on('defaultAction', function(actions){
    //       // We have no matching route, lets just log what the URL was
    //       console.log('No route:', actions);
    //     });
    //     Backbone.history.start();
    // };
    // return {
    //     initialize: initialize
    // };
});<commit_msg>Changed: Removed unused code<commit_after>/*
 *  Router
 */
define([
    'jquery',
    'underscore',
    'backbone',
    'views/Calendar',
    'views/EventEditor',
    'collections/Events'
], function ($, _, Backbone, CalendarView, EventEditorView, Events) {
    return Backbone.Router.extend({
        routes: {
            // Default
            "*actions": "index",
            "editor": "editor"
        },

        initialize: function () {
        },

        index: function () {
            new CalendarView({collection: new Events()});
        },

        editor: function () {
            new EventEditorView();
        }
    });
});
{'fraction_non_alphanumeric': 0.1476923076923077, 'fraction_numerical': 0.0, 'mean_word_length': 1.5401785714285714, 'pattern_counts': {'":': 5, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4519043', 'n_tokens_mistral': 629, 'n_tokens_neox': 594, 'n_words': 134}