code-dot-org/blockly — pull request #772 by Bjvanminnen (2014-07-28 22:29:52+00:00)
Title: handle added text nodes in xml

When using the level editor xml for required blocks instead of the UI, you end up with additional text nodes (I assume from the whitespace). This means childNodes[0] doesn't get what we want. I changed these to instead use getElementsByTagName.