in partnership with mediatemple

Show
Ignore:
Timestamp:
05/05/08 10:36:32 (1 week ago)
Author:
JanK
Message:
  • Class events should now be used without their on prefix, i.e. addEvent('onChainComplete', fn) becomes addEvent('chainComplete'). If you want to add events in the options you need to prefix them with 'on' now ('foo' -> 'onFoo').

Note: This is not a breaking change.

- other minor optimizations and doc fixes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/Docs/Request/Request.md

    r1504 r1546  
    3030---------------------------------------- 
    3131 
    32 ### onRequest 
     32### request 
    3333 
    3434(*function*) Function to execute when the Request is sent. 
     
    42421. instance - (Request) The transport instance. 
    4343 
    44 ### onSuccess 
     44### success 
    4545 
    4646(*function*) Function to execute when the Request completes. 
     
    55552. responseXML  - (*mixed*) The response XML from the request. 
    5656 
    57 ### onFailure 
     57### failure 
    5858 
    5959(*function*) Function to execute when the request fails (error status code). 
     
    6767instance - (Request) The transport instance. 
    6868 
    69 ### onException 
     69### exception 
    7070 
    7171(*function*) Function to execute when setting a request header fails. 
     
    80802. value      - (*string*) The value of the failing header. 
    8181 
    82 ###     onCancel 
     82###     cancel 
    8383 
    8484(*function*) Function to execute when a request has been cancelled. 
     
    9191 
    9292* running  - (*boolean*) True if the request is running. 
    93 * response - (*object*) Object with text and XML as keys. You can access this property in the onSuccess event. 
     93* response - (*object*) Object with text and XML as keys. You can access this property in the 'success' event. 
    9494 
    9595### Returns: