mirror of
https://github.com/jashkenas/backbone.git
synced 2026-01-24 22:37:58 -05:00
Merge branch 'master' of https://github.com/hippich/backbone
This commit is contained in:
@@ -917,6 +917,7 @@
|
||||
_ensureElement : function() {
|
||||
if (!this.el) {
|
||||
var attrs = {};
|
||||
if (this.attributes) attrs = this.attributes;
|
||||
if (this.id) attrs.id = this.id;
|
||||
if (this.className) attrs['class'] = this.className;
|
||||
this.el = this.make(this.tagName, attrs);
|
||||
|
||||
Reference in New Issue
Block a user