We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d6febd5 + 90588a9 commit 5082bdeCopy full SHA for 5082bde
src/librustdoc/html/static/main.js
@@ -49,6 +49,13 @@
49
50
var themesWidth = null;
51
52
+ if (!String.prototype.startsWith) {
53
+ String.prototype.startsWith = function(searchString, position) {
54
+ position = position || 0;
55
+ return this.indexOf(searchString, position) === position;
56
+ };
57
+ }
58
+
59
function hasClass(elem, className) {
60
if (elem && className && elem.className) {
61
var elemClass = elem.className;
0 commit comments