Index: trunk/extensions/ParserPlayground/modules/ext.parserPlayground.renderer.js |
— | — | @@ -84,11 +84,11 @@ |
85 | 85 | node = h[0]; |
86 | 86 | break; |
87 | 87 | case 'b': |
88 | | - var h = $('<b class="parseNode"></b>').text(tree.text); // hack -- use contents[] |
| 88 | + var h = $('<b class="parseNode"></b>').text(tree.text); // hack -- use content[] |
89 | 89 | node = h[0]; |
90 | 90 | break; |
91 | 91 | case 'i': |
92 | | - var h = $('<i class="parseNode"></i>').text(tree.text); // hack -- use contents[] |
| 92 | + var h = $('<i class="parseNode"></i>').text(tree.text); // hack -- use content[] |
93 | 93 | node = h[0]; |
94 | 94 | break; |
95 | 95 | case 'template': |
— | — | @@ -102,8 +102,8 @@ |
103 | 103 | str = ''; |
104 | 104 | } |
105 | 105 | var p = $('<span></span>').text('|' + str); |
106 | | - if ('contents' in param && param.contents) { |
107 | | - subParseArray(param.contents, p); |
| 106 | + if ('content' in param && param.content) { |
| 107 | + subParseArray(param.content, p); |
108 | 108 | } |
109 | 109 | t.append(p); |
110 | 110 | }); |