Open sabberworm opened 13 years ago
Thinking a little bit about this, it would even make sense to deprecate passing any sort of callback to widgetJSON()
entirely, always returning a .promise()
, even for synchronous calls (thus recommending against them a little further).
Major change requiring all callbacks-passers to be modified if they want to handle the exception case. Exception type handlers will always be called unless WidgetJSONOptions.callback_handles_error.