Test for old docs banner
parent
2870f39f85
commit
87e6b2258a
|
@ -0,0 +1,12 @@
|
||||||
|
xhr.onload = function() {
|
||||||
|
var versions = JSON.parse(this.responseText);
|
||||||
|
|
||||||
|
var realVersion = versions.find(function(i) {
|
||||||
|
return i.version === CURRENT_VERSION ||
|
||||||
|
i.aliases.includes(CURRENT_VERSION);
|
||||||
|
}).version;
|
||||||
|
console.log(realVersion)
|
||||||
|
console.log(CURRENT_VERSION)
|
||||||
|
}
|
||||||
|
|
||||||
|
console.log("hi")
|
|
@ -37,9 +37,9 @@ extra:
|
||||||
- icon: fontawesome/brands/twitter
|
- icon: fontawesome/brands/twitter
|
||||||
link: 'https://twitter.com/julio_ui'
|
link: 'https://twitter.com/julio_ui'
|
||||||
extra_javascript:
|
extra_javascript:
|
||||||
- javascripts/config.js
|
|
||||||
- https://polyfill.io/v3/polyfill.min.js?features=es6
|
- https://polyfill.io/v3/polyfill.min.js?features=es6
|
||||||
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
|
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
|
||||||
|
- javascripts/extra.js
|
||||||
|
|
||||||
repo_name: 'carissalow/rapids'
|
repo_name: 'carissalow/rapids'
|
||||||
repo_url: 'https://github.com/carissalow/rapids'
|
repo_url: 'https://github.com/carissalow/rapids'
|
||||||
|
|
Loading…
Reference in New Issue