diff options
author | xengineering <mail2xengineering@protonmail.com> | 2021-02-11 13:01:43 +0100 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2021-02-11 13:01:43 +0100 |
commit | bc6b03ab29703dfff857b63727657ca3127eb381 (patch) | |
tree | 009fc7df794754917ddb3fecfde8b2f739e7b1df /webroot/js | |
parent | 7293dae63a07ec23e779fef20fbe81104ebc7d3f (diff) | |
download | web-template-bc6b03ab29703dfff857b63727657ca3127eb381.tar web-template-bc6b03ab29703dfff857b63727657ca3127eb381.tar.zst web-template-bc6b03ab29703dfff857b63727657ca3127eb381.zip |
Refactoring: Reimplement Webroot Deployment
Diffstat (limited to 'webroot/js')
l---------[-rw-r--r--] | webroot/js/example.js | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/webroot/js/example.js b/webroot/js/example.js index 59cf1ee..3faf334 100644..120000 --- a/webroot/js/example.js +++ b/webroot/js/example.js @@ -1,14 +1 @@ - -function example_post() { - - var data = { - "key":"value", - } - var json = JSON.stringify(data); - - var xhr = new XMLHttpRequest(); - xhr.open("POST", "api", true); - xhr.send(json); - -} - +../../lib/js/example.js
\ No newline at end of file |