<commit_before>controller = Backbone.Controller.extend({
    routes: {
        '/': 'home',
        '/foo': 'foo'
    },

    home: function(res) {
        res((new views['Home']).el);
    },

    foo: function(res) {
        res((new views['Foo']).el);
    }
});<commit_msg>Update controller to use this.res.<commit_after>controller = Backbone.Controller.extend({
    routes: {
        '/': 'home',
        '/foo': 'foo'
    },

    home: function() {
        var view = new views['Home'];
        if (this.res) this.res.send(view.el);
    },

    foo: function() {
        var view = new views['Foo'];
        if (this.res) this.res.send(view.el);
    }
});
{'fraction_non_alphanumeric': 0.19726858877086495, 'fraction_numerical': 0.0, 'mean_word_length': 2.0985915492957745, 'pattern_counts': {'":': 0, '<': 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': '7043734', 'n_tokens_mistral': 221, 'n_tokens_neox': 216, 'n_words': 42}