hybridgroup / kidsruby

KidsRuby is a Ruby programming environment meant for kids to learn and have fun!
http://kidsruby.com
Other
335 stars 104 forks source link

Parse JSON for responseText for windows webkit #89

Closed silkycove closed 12 years ago

silkycove commented 12 years ago

I tried KidsRuby Japanese UI on Japanese Windows Vista, and the UI was not properly localized. Under my Japanese Windows environment, the error handler is called by $.ajax. The responseText provided to the error handler is in plain text in JSON structure that localizeUI does not expect. Converting the string into an object by parseJSON solves the problem under my windows environment. Please review the code and pull it into the main stream if possible.