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

Re: IE hosted objects and toJSON check

Expand Messages
  • Andrea Giammarchi
    Me too, unfortunately that crap may be useful to create HTML5 shims due getters/setters possibility: e.g. Objet.create, localStorage with direct property
    Message 1 of 3 , Apr 4 2:53 AM
    • 0 Attachment
      Me too, unfortunately that crap may be useful to create HTML5 shims due
      getters/setters possibility: e.g. Objet.create, localStorage with direct
      property assignment, etc. Since this is a IE 7 or less case only, since IE8
      supports VBScript with a toJSON method, I don't think it can arm anybody
      else, also because json2.js is the file that hopefully gonna be extinct
      soon, isn't it?

      Moreover, if IE8 native JSON.stringify supports that, isnt's this json2.js
      goal to bring this object in those browsers that do not support it?

      Best Regards,
      Andrea Giammarchi


      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.