]> source.dussan.org Git - nextcloud-server.git/commitdiff
Second parameter is optional
authorLukas Reschke <lukas@owncloud.com>
Wed, 11 Feb 2015 13:01:22 +0000 (14:01 +0100)
committerLukas Reschke <lukas@owncloud.com>
Wed, 11 Feb 2015 13:01:22 +0000 (14:01 +0100)
Makes my IDE happier.

core/js/js.js

index 234cc328dfb82994d347099a5af7d88d36a772a0..808c2c28adfcd8114f5a60bc94a78e027753e201 100644 (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) {