xuijs / xui

A tiny javascript framework for mobile web apps.
http://xuijs.com
788 stars 106 forks source link

XHR failure callback #40

Closed peterp closed 13 years ago

peterp commented 13 years ago

At the moment an exception is produced on failure. Is this something that XUI wants to handle as callback, I could submit a patch?

filmaj commented 13 years ago

Yeah it's supposed to use the error property/function in the options object as the error callback...

filmaj commented 13 years ago

Closing this, this one's cool ya?

peterp commented 13 years ago

Yup! I've made a pull request that updates the documentation.

filmaj commented 13 years ago

thanks, merged in!