code: function($el, options) {
        options = options || {};
        this.injectionSite = options.replaceMethod ? options.replaceMethod(this.$el) : $el.replaceWith(this.$el);
        if (options.discardInjectionSite) {
          this.injectionSite = undefined;
        }
      }
docs: Replaces the injection site element passed in using $el.replaceWith OR you can use your own replace method
  @method __replaceInjectionSite
  @param $el {jQuery Element} the injection site element to be replaced
  @param [options] {Object} Optional options
  @param   [options.replaceMethod] {Function} use an alternative replace method. Invoked with the view's element as the argument.
  @param   [options.discardInjectionSite=false] {Boolean} if true, the view will not save a reference to the injection site after replacement.
  @private