dcodeIO/ProtoBuf.js — pull request #59 by icorderi (2013-10-15 22:27:08+00:00)
Title: Fixed getChild to work with fields Ids

The type of this.children[i] returns object.
The if statement is never true because of this and enum children cannot be accessed by their id.