Treesaver/treesaver — pull request #311 by zerodogg (2012-12-13 15:54:18+00:00)
Title: Add ID strings to debugging messages referring to DOM nodes

Added a method to the debug object that generates an identifying string (based on id, data-sizes or class) for a DOM node.
Helps identify which nodes are bing referred to, i.e. in "Zero-height block ignored" messages, so that it's easier to figure out what the problem might be.

"Zero-height block ignored" becomes "Zero-height block ignored: [object HTMLDivElement] (data-sizes=smallarticle fallback)", which provides a lot more to go on.