feat(monorepo): initial setup

This commit is contained in:
Nathan Walker
2020-08-07 08:47:45 -07:00
parent 7db35e68a7
commit 5658e638d5
4262 changed files with 147537 additions and 149337 deletions

View File

@@ -0,0 +1,26 @@
<!DOCTYPE html>
<html>
<head>
<title>Test Page</title>
<meta charset="utf-8" />
</head>
<body>
<h3>Result</h3>
<div style="color: green;" id="result">No value yet</div>
<script type="text/javascript" charset="utf-8">
function getParameterByName(name) {
url = window.location.href;
name = name.replace(/[\[\]]/g, '\\$&');
var regex = new RegExp('[?&]' + name + '(=([^&#]*)|&|#|$)'),
results = regex.exec(url);
if (!results) return null;
if (!results[2]) return '';
return decodeURIComponent(results[2].replace(/\+/g, ' '));
}
var res = document.getElementById('result');
res.innerHTML = 'foo: ' + getParameterByName('foo') + '<br>' + 'urlType: ' + getParameterByName('urlType');
</script>
</body>
</html>