Index: trunk/extensions/ClickTracking/modules/jquery.clickTracking.js |
— | — | @@ -23,6 +23,7 @@ |
24 | 24 | * Performs click tracking API call |
25 | 25 | * |
26 | 26 | * @param {string} id event identifier |
| 27 | + * @return jqXHR object (see <http://api.jquery.com/jQuery.get/#jqxhr-object>) |
27 | 28 | */ |
28 | 29 | $.trackAction = function( id ) { |
29 | 30 | return $.trackActionWithOptions( { 'id' : id }); |
— | — | @@ -32,6 +33,7 @@ |
33 | 34 | * |
34 | 35 | * @param {string} id event identifier |
35 | 36 | * @param {string} info additional information to be stored with the click |
| 37 | + * @return jqXHR object (see <http://api.jquery.com/jQuery.get/#jqxhr-object>) |
36 | 38 | */ |
37 | 39 | $.trackActionWithInfo = function( id, info ) { |
38 | 40 | return $.trackActionWithOptions( { 'id' : id, 'info' : info }); |
— | — | @@ -41,6 +43,7 @@ |
42 | 44 | * Performs click tracking API call |
43 | 45 | * |
44 | 46 | * @param {map} options Data to submit. Valid keys: id, namespace, info, token |
| 47 | + * @return jqXHR object (see <http://api.jquery.com/jQuery.get/#jqxhr-object>) |
45 | 48 | */ |
46 | 49 | $.trackActionWithOptions = function( options ) { |
47 | 50 | options = $.extend( { |