Yep because setElement doesn't take attributes. See if there's anything u can do about that.

Sent from my iPhone

> On 21 Feb, 2014, at 2:17 pm, Adam Krebs <notifications@github.com> wrote:
> 
> In backbone.js:
> 
> > @@ -1102,8 +1131,8 @@
> >          var attrs = _.extend({}, _.result(this, 'attributes'));
> >          if (this.id) attrs.id = _.result(this, 'id');
> >          if (this.className) attrs['class'] = _.result(this, 'className');
> > -        var $el = Backbone.$('<' + _.result(this, 'tagName') + '>').attr(attrs);
> > -        this.setElement($el, false);
> > +        this._createContext(document.createElement(_.result(this, 'tagName')), attrs);
> > +        this.setElement(this.el, false);
> @wyuenho _createContext is called twice here, yeah? Once here, and then once in setElement
> 
> —
> Reply to this email directly or view it on GitHub.