Skip to content

Commit

Permalink
change url
Browse files Browse the repository at this point in the history
  • Loading branch information
tsonevn committed Jul 26, 2019
1 parent ea24ba9 commit 2385ffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/_includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
<script>
function getCookie(n) { for (var t = n + "=", e = document.cookie.split(";"), r = 0; r < e.length; r++) { for (var i = e[r]; " " === i.charAt(0);)i = i.substring(1, i.length); if (0 === i.indexOf(t)) return i.substring(t.length, i.length) } return null }
function setCookie(e, t, i) { var o; if (i) { var n = new Date; n.setTime(n.getTime() + 24 * i * 60 * 60 * 1e3), o = "; expires=" + n.toGMTString() } else o = ""; document.cookie = e + "=" + t + o + "; path=/" }
$.getJSON("https://raw.githubusercontent.com/tsonevn/docstest/master/versions.json", function (data) {
$.getJSON("https://docs.nativescript.org/docs_versions.json", function (data) {
var varray = data[`versions`].sort((a, b) => parseFloat(a[`version`]) - parseFloat(b[`version`]));
var docsUrl = window.location.href;
var baseUrl = window.location.origin;
Expand Down

0 comments on commit 2385ffd

Please sign in to comment.