Closed alvaro-cuesta closed 10 years ago
I cannot replicate this bug. Instead, I get the following HTML output, as expected:
<ol><li><ol><li>one</li><li>two</li></ol></li><li><ol><li>three</li><li>four</li></ol></li></ol>
Try
render(view, boxes: [['One', 'Two'], ['Three', 'Four']])
Not
render(view, boxes: [['One', 'Two'], ['Three', 'Four'])
Notice the missing ]
.
Minimal code:
render(view, boxes: [['One', 'Two'], ['Three', 'Four'])
Results in:
TypeError: Cannot read property '_id' of undefined