xuijs / xui

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

XHR failure callback #40

Closed peterp closed 12 years ago

peterp commented 12 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 12 years ago

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

filmaj commented 12 years ago

Closing this, this one's cool ya?

peterp commented 12 years ago

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

filmaj commented 12 years ago

thanks, merged in!