A patch for Jester.Resource.elementHasMany

0 views
Skip to first unread message

Changshin Lee

unread,
Jan 29, 2008, 8:23:33 AM1/29/08
to jest...@googlegroups.com
Hi all,

The current Jester.Resource.elementHasMany has a problem handling an
element with attributes. For example,

<pages xmlns="http://api.springnote.com" type="array">
<page>
...
</page>
</pages>

causes Jester.Resource.elementHasMany to return false due to the fact
that the loop in the method accepts "@xmlns" and "@type". The enclosed
patch fixes the behavior.

Cheers,

ias

elementHasMany.diff

Eric Mill

unread,
Feb 22, 2008, 3:22:08 PM2/22/08
to Jester JS
Thanks Changshin! I added this as an issue on the tracker, and I'll
be applying your patch shortly.

http://code.google.com/p/jester-js/issues/detail?id=3

-- Eric
> elementHasMany.diff
> 1KDownload
>
>
Reply all
Reply to author
Forward
0 new messages