Many moons ago we were told that "in" was slow but it wouldn't surprise me if it got better. If Scout says it is better and other tests indicate the same, then it seems like a good change.
-Alex On 1/2/14 7:53 PM, "Justin Mclean" <jus...@classsoftware.com> wrote: >Hi, > >> Any chance data can be null at that point? Does your code handle that >>well? > >Already handled in the ADG case but I check the other I've just changed. > > if (typeof(data) == "object" || typeof(data) == "xml") > { > if (dataField != null) > if (dataField in data) > data = data[dataField]; > else > data = null; > } > >Thanks, >Justin