Index: trunk/parsers/wikidom/lib/synth/views/es.TableBlockCellView.js |
— | — | @@ -6,15 +6,9 @@ |
7 | 7 | */ |
8 | 8 | es.TableBlockCellView = function( model ) { |
9 | 9 | es.ViewListItem.call( this, model, $( '<td>' ) ); |
10 | | - |
11 | 10 | this.documentView = new es.DocumentView( this.model.documentModel ); |
12 | 11 | this.$.append( this.documentView.$ ); |
13 | | - |
14 | | - var classes = this.$.attr('class'); |
15 | | - for ( var name in this.model.attributes ) { |
16 | | - this.$.attr( name, this.model.attributes[name] ); |
17 | | - } |
18 | | - this.$.addClass(classes); |
| 12 | + this.$.attr( this.model.attributes ); |
19 | 13 | }; |
20 | 14 | |
21 | 15 | /** |