Loading ...
Sorry, an error occurred while loading the content.

Re: JSON.parse filter is broken

Expand Messages
  • y_lsmith
    ... Thanks Devin, you re absolutely right. The patch will be included in the next release. Note, it should be YAHOO.lang.hasOwnProperty(v, i), not [i] as
    Message 1 of 2 , Dec 21, 2007
    • 0 Attachment
      --- In ydn-javascript@yahoogroups.com, "Devin Singleton" <devsin@...>
      wrote:
      >
      > The parse example does not work.
      >
      > As far as I can tell, this line found in json-beta-debug.js's parse
      > function:
      > if (YAHOO.lang.hasOwnProperty.apply(v, [i])) {
      >
      > should be changed to:
      > if (YAHOO.lang.hasOwnProperty(v, [i])) {
      >


      Thanks Devin, you're absolutely right. The patch will be included in
      the next release.

      Note, it should be YAHOO.lang.hasOwnProperty(v, i), not [i] as well.

      Luke
    Your message has been successfully submitted and would be delivered to recipients shortly.