code: function (selector) {
        var $ = this._environment ? this._environment.options.jQuery : _emberViewsSystemJquery.default;
  
        if ($) {
          var target = $(selector);
  
          _emberMetalDebug.assert('You tried to append to (' + selector + ') but that isn\'t in the DOM', target.length > 0);
          _emberMetalDebug.assert('You cannot append to an existing Ember.View.', !target.is('.ember-view') && !target.parents().is('.ember-view'));
  
          this.renderer.appendTo(this, target[0]);
        } else {
          var target = selector;
  
          _emberMetalDebug.assert('You tried to append to a selector string (' + selector + ') in an environment without jQuery', typeof target !== 'string');
          _emberMetalDebug.assert('You tried to append to a non-Element (' + selector + ') in an environment without jQuery', typeof selector.appendChild === 'function');
  
          this.renderer.appendTo(this, target);
        }
  
        return this;
      }
docs: Appends the view's element to the specified parent element.
  If the view does not have an HTML representation yet, `createElement()`
  will be called automatically.
  Note that this method just schedules the view to be appended; the DOM
  element will not be appended to the given element until all bindings have
  finished synchronizing.
  This is not typically a function that you will need to call directly when
  building your application. If you do need to use `appendTo`, be sure that
  the target element you are providing is associated with an `Ember.Application`
  and does not have an ancestor element that is associated with an Ember view.
  @method appendTo
  @param {String|DOMElement|jQuery} A selector, element, HTML string, or jQuery object
  @return {Ember.View} receiver
  @private