So type check then? Or just swap em?
On Mar 5, 2014 1:14 AM, "brad dunbar" <notifications@github.com> wrote:

> In backbone.js:
>
> >      // Change the view's element (`this.el` property), including event
> >      // re-delegation.
> > -    setElement: function(element, delegate) {
> > -      if (this.$el) this.undelegateEvents();
> > -      this.$el = element instanceof Backbone.$ ? element : Backbone.$(element);
> > -      this.el = this.$el[0];
> > +    setElement: function(element, delegate, attributes) {
>
> setElement(el, attrs) is much nicer than setElement(el, false, attrs) and
> I agree that it's not public API.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/jashkenas/backbone/pull/3003/files#r10280304>
> .
>