Skip to content

Commit

Permalink
fix API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rsternagel committed Aug 19, 2013
1 parent bacacdc commit eaac350
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
4 changes: 2 additions & 2 deletions framework/source/class/qx/bom/request/SimpleXhr.js
Expand Up @@ -222,7 +222,7 @@ qx.Bootstrap.define("qx.bom.request.SimpleXhr",
/**
* Sets (i.e. override) the parser for the response parsing.
*
* @see {@link qx.util.ResponseParser#setParser}
* @see qx.util.ResponseParser#setParser
*
* @param parser {String|Function}
* @return {Function} The parser function
Expand Down Expand Up @@ -582,7 +582,7 @@ qx.Bootstrap.define("qx.bom.request.SimpleXhr",

// Parse response
if (qx.core.Environment.get("qx.debug.io")) {
qx.Bootstrap.debug("Response is of type: '" + this.getResponseContentType() + "'");
qx.Bootstrap.debug("Response is of type: '" + contentType + "'");
}

this._setResponse(this.__parser.parse(response, contentType));
Expand Down
2 changes: 1 addition & 1 deletion framework/source/class/qx/io/request/Xhr.js
Expand Up @@ -311,7 +311,7 @@ qx.Class.define("qx.io.request.Xhr",
* Set parser used to parse response once request has
* completed successfully.
*
* @see {@link qx.util.ResponseParser#setParser}
* @see qx.util.ResponseParser#setParser
*
* @param parser {String|Function}
* @return {Function} The parser function
Expand Down
13 changes: 7 additions & 6 deletions framework/source/class/qx/util/ResponseParser.js
Expand Up @@ -91,13 +91,14 @@ qx.Bootstrap.define("qx.util.ResponseParser",
*
* @param parser {String|Function}
*
* <br>Can be:
* Can be:
*
* * A parser defined in {@link qx.util.ResponseParser#PARSER},
* referenced by string.
*
* * The function to invoke.
* Receives the raw response as argument.
* <ul>
* <li>A parser defined in {@link qx.util.ResponseParser#PARSER},
* referenced by string.</li>
* <li>The function to invoke.
* Receives the raw response as argument.</li>
* </ul>
*
* @return {Function} The parser function
*/
Expand Down

0 comments on commit eaac350

Please sign in to comment.