Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#3065 closed enhancement (fixed)

allow load/error handlers to be passed to new I/O methods

Reported by: alex Owned by: alex
Priority: high Milestone: 0.9beta
Component: IO Version: 0.9
Keywords: Cc: James Burke, alex
Blocked By: Blocking:

Description

after discussions w/ Dustin, I'm much less concerned now about the nexus between APIs for I/O and RPC. As a result, we should re-enable load/error handlers in xhr* and other 0.9 I/O transports.

Change History (3)

comment:1 Changed 12 years ago by James Burke

Resolution: fixed
Status: newclosed

(In [8955]) Fixes #3065, adds load, error, handle function callback support for io methods.

comment:2 Changed 12 years ago by alex

this patch looks wrong. It only adds the "handle" method, but not "load" and "error".

comment:3 Changed 12 years ago by James Burke

The previous checkin for the dojo.io.script addition included the load and error callbacks, but you had them commented out. This patch just removed the comments and added "handle".

Note: See TracTickets for help on using tickets.