I modified the list.html example here https://github.com/tbranyen/backbone.layoutmanager/blob/master/examples/list.html a bit:
http://jsfiddle.net/qhoc/nQJz6/
If you look into Firebug, you can see there is an extra div between ol and li.
I know I can get rid of it by moving li out the template and use tagName: 'li' in Items view. But that means I have to change my code in places. Also I prefer to keep the li in the template for design process consistency.
How to get rid of this div without modifying the template?
Override the
partialfunction and do ajQuery#findlike so:This method can be overwritten on a global (above) or local instance.
You will also need to adjust
afterRenderto use the new element:More information here: http://tbranyen.github.com/backbone.layoutmanager/#configuration/defaults