We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1807c70 commit 7e274ebCopy full SHA for 7e274eb
templates/switchers.js
@@ -1,15 +1,6 @@
1
(function() {
2
'use strict';
3
4
- if (!String.prototype.startsWith) {
5
- Object.defineProperty(String.prototype, 'startsWith', {
6
- value: function(search, rawPos) {
7
- const pos = rawPos > 0 ? rawPos|0 : 0;
8
- return this.substring(pos, pos + search.length) === search;
9
- }
10
- });
11
12
-
13
// Parses versions in URL segments like:
14
// "3", "dev", "release/2.7" or "3.6rc2"
15
const version_regexs = [
0 commit comments