Changeset 3324


Ignore:
Timestamp:
08/08/13 11:27:00 (11 years ago)
Author:
sroth
Message:

Added comment with suggestion for simplified success callback.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • DASISH/t5.6/client/trunk/chrome/markingcollection/content/markingcollection/annotator-service/test/mockjax/mockjax-xml.js

    r3252 r3324  
    1818    responseTime: 750,
    1919    /* proxy: A string specifying a path to a file, from which the contents will be returned for the request. */
    20     proxy: 'mocks/annotations-sagrada.xml'
     20    proxy: 'mocks/annotations-sagrada-GET.xml'
    2121});
    2222
     
    2929                type: 'GET',
    3030                success: function(xml, textStatus, jqXHR) {
    31 
     31                // success: function(xml) {   
     32                // can be used if parameters textStatus and jqXHR are not required within the following code block
    3233                    console.log('Data: ' + $(xml));
    3334                    console.log($(xml));
Note: See TracChangeset for help on using the changeset viewer.