This commit is contained in:
Jeremy Ashkenas
2011-02-07 16:02:14 -05:00

View File

@@ -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);