<commit_before>var get = Ember.get, set = Ember.set,
    classify = Ember.String.classify,
    decamelize = Ember.String.decamelize;


Ember.Route = Ember.Object.extend({
  exit: function() {
    teardownView(this);
  },

  /**
    Transition into another route. Optionally supply a model for the
    route in question. The model will be serialized into the URL
    using the `serialize` hook.

    @method transitionTo
    @param {String} name the name of the route
    @param {...Object} models the
  */
  transitionTo: function() {
    this.transitioned = true;
    return this.router.transitionTo.apply(this.router, arguments);
  },

  /**
    @private

    This hook is the entry point for router.js

    @method setup
  */
  setup: function(context) {
    this.transitioned = false;
    this.redirect(context);

    if (this.transitioned) { return; }

    var controller = this.lookupController(context);
    this.setupControllers(controller, context);
    this.renderTemplates(context);
  },<commit_msg>Add `this.send` to routes.<commit_after>var get = Ember.get, set = Ember.set,
    classify = Ember.String.classify,
    decamelize = Ember.String.decamelize;


Ember.Route = Ember.Object.extend({
  exit: function() {
    teardownView(this);
  },

  /**
    Transition into another route. Optionally supply a model for the
    route in question. The model will be serialized into the URL
    using the `serialize` hook.

    @method transitionTo
    @param {String} name the name of the route
    @param {...Object} models the
  */
  transitionTo: function() {
    this.transitioned = true;
    return this.router.transitionTo.apply(this.router, arguments);
  },

  send: function() {
    return this.router.send.apply(this.router, arguments);
  },

  /**
    @private

    This hook is the entry point for router.js

    @method setup
  */
  setup: function(context) {
    this.transitioned = false;
    this.redirect(context);

    if (this.transitioned) { return; }

    var controller = this.lookupController(context);
    this.setupControllers(controller, context);
    this.renderTemplates(context);
  },
{'fraction_non_alphanumeric': 0.1123171307220387, 'fraction_numerical': 0.0, 'mean_word_length': 3.124513618677043, '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': '7380264', 'n_tokens_mistral': 652, 'n_tokens_neox': 630, 'n_words': 178}