aboutsummaryrefslogtreecommitdiff
path: root/javascript/app/utils
diff options
context:
space:
mode:
Diffstat (limited to 'javascript/app/utils')
-rw-r--r--javascript/app/utils/api-urls.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/javascript/app/utils/api-urls.js b/javascript/app/utils/api-urls.js
index d90c68a..7dce1c3 100644
--- a/javascript/app/utils/api-urls.js
+++ b/javascript/app/utils/api-urls.js
@@ -46,5 +46,8 @@ export const urls = {
},
globalIdentifiersUrl : function (query) {
return config.APP.apiUrlPrefix + "/globalIdentifiers/"+fixDots(encodeURIComponent(query));
+ },
+ hoogleDocsUrl : function (packageId,moduleName,entity,name) {
+ return config.APP.apiUrlPrefix + "/hoogleDocs/"+packageId+"/"+encodeURIComponent(moduleName)+"/"+entity+"/"+fixDots(encodeURIComponent(name));
}
}