Test for old docs banner

pull/103/head
JulioV 2020-11-18 18:30:32 -05:00
parent 2870f39f85
commit 87e6b2258a
2 changed files with 13 additions and 1 deletions

View File

@ -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")

View File

@ -37,9 +37,9 @@ extra:
- icon: fontawesome/brands/twitter
link: 'https://twitter.com/julio_ui'
extra_javascript:
- javascripts/config.js
- https://polyfill.io/v3/polyfill.min.js?features=es6
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
- javascripts/extra.js
repo_name: 'carissalow/rapids'
repo_url: 'https://github.com/carissalow/rapids'