Second parameter is optional

Makes my IDE happier.
This commit is contained in:
Lukas Reschke 2015-02-11 14:01:22 +01:00
parent 9baf7a0a3f
commit 0119d429fc
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ var OC={
/**
* Generates the absolute url for the given relative url, which can contain parameters.
* @param {string} url
* @param params
* @param [params] params
* @return {string} Absolute URL for the given relative URL
*/
generateUrl: function(url, params) {