]> git.lizzy.rs Git - rust.git/commitdiff
Update rustdoc-js
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Mon, 4 Jun 2018 19:22:51 +0000 (21:22 +0200)
committerGuillaume Gomez <guillaume1.gomez@gmail.com>
Mon, 4 Jun 2018 19:22:51 +0000 (21:22 +0200)
src/tools/rustdoc-js/tester.js

index bc4503903d665589ab3bf1c0beb887bf8eb795ed..a05c8a8ac9133301bcfc5ea0763d03527f49bed5 100644 (file)
@@ -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.