about summary refs log tree commit diff
path: root/src/tools/rustdoc-js/tester.js
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2018-06-04 21:22:51 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2018-06-04 21:22:51 +0200
commit2f7fa24aee7f7e69f9fbc37e8d2084fb1c898e97 (patch)
tree36302c47e64d189c5db3e698c75039414360c0b7 /src/tools/rustdoc-js/tester.js
parentfb54a4afbcae8708b0158306c87cee31d7c01765 (diff)
downloadrust-2f7fa24aee7f7e69f9fbc37e8d2084fb1c898e97.tar.gz
rust-2f7fa24aee7f7e69f9fbc37e8d2084fb1c898e97.zip
Update rustdoc-js
Diffstat (limited to 'src/tools/rustdoc-js/tester.js')
-rw-r--r--src/tools/rustdoc-js/tester.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tools/rustdoc-js/tester.js b/src/tools/rustdoc-js/tester.js
index bc4503903d6..a05c8a8ac91 100644
--- a/src/tools/rustdoc-js/tester.js
+++ b/src/tools/rustdoc-js/tester.js
@@ -231,7 +231,9 @@ function main(argv) {
     finalJS = "";
 
     var arraysToLoad = ["itemTypes"];
-    var variablesToLoad = ["MAX_LEV_DISTANCE", "MAX_RESULTS", "TY_PRIMITIVE", "levenshtein_row2"];
+    var variablesToLoad = ["MAX_LEV_DISTANCE", "MAX_RESULTS",
+                           "TY_PRIMITIVE", "TY_KEYWORD",
+                           "levenshtein_row2"];
     // execQuery first parameter is built in getQuery (which takes in the search input).
     // execQuery last parameter is built in buildIndex.
     // buildIndex requires the hashmap from search-index.