summaryrefslogtreecommitdiff
path: root/support/jsdoc
diff options
context:
space:
mode:
authorHubert Argasinski <argasinski.hubert@gmail.com>2016-06-29 02:10:33 -0400
committerHubert Argasinski <argasinski.hubert@gmail.com>2016-06-29 02:31:22 -0400
commit66a6b67b55d9b5c5726fcc22cab98ba1e00ad503 (patch)
treefffdc45434e9a4bb819747bfc1aa854418fa0689 /support/jsdoc
parent0e11bf597567f3f0927cee293351fd017c33c680 (diff)
downloadasync-66a6b67b55d9b5c5726fcc22cab98ba1e00ad503.tar.gz
added missing slash to searching on subroutes
Diffstat (limited to 'support/jsdoc')
-rw-r--r--support/jsdoc/jsdoc-custom.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/support/jsdoc/jsdoc-custom.js b/support/jsdoc/jsdoc-custom.js
index e86160c..cb36d46 100644
--- a/support/jsdoc/jsdoc-custom.js
+++ b/support/jsdoc/jsdoc-custom.js
@@ -14,7 +14,7 @@ $(function initSearchBar() {
datumTokenizer: matchSubstrs,
queryTokenizer: Bloodhound.tokenizers.whitespace,
prefetch: {
- url: './methodNames.json',
+ url: './data/methodNames.json',
cache: false
}
});
@@ -23,7 +23,7 @@ $(function initSearchBar() {
datumTokenizer: matchSubstrs,
queryTokenizer: Bloodhound.tokenizers.whitespace,
prefetch: {
- url: './sourceFiles.json',
+ url: './data/sourceFiles.json',
cache: false
}
});
@@ -85,11 +85,11 @@ $(function initSearchBar() {
} else {
host = location.protocol + '//' + location.host;
}
-
+
var _path = location.pathname.split("/");
-
+
var currentPage = _path[_path.length - 1];
- host += _path.slice(1, -1).join("/") + "/";
+ host += "/" + _path.slice(1, -1).join("/") + "/";
// handle issues
if (typeof suggestion !== 'string') {