From bc6b03ab29703dfff857b63727657ca3127eb381 Mon Sep 17 00:00:00 2001 From: xengineering Date: Thu, 11 Feb 2021 13:01:43 +0100 Subject: Refactoring: Reimplement Webroot Deployment --- webroot/js/example.js | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) mode change 100644 => 120000 webroot/js/example.js (limited to 'webroot/js') diff --git a/webroot/js/example.js b/webroot/js/example.js deleted file mode 100644 index 59cf1ee..0000000 --- a/webroot/js/example.js +++ /dev/null @@ -1,14 +0,0 @@ - -function example_post() { - - var data = { - "key":"value", - } - var json = JSON.stringify(data); - - var xhr = new XMLHttpRequest(); - xhr.open("POST", "api", true); - xhr.send(json); - -} - diff --git a/webroot/js/example.js b/webroot/js/example.js new file mode 120000 index 0000000..3faf334 --- /dev/null +++ b/webroot/js/example.js @@ -0,0 +1 @@ +../../lib/js/example.js \ No newline at end of file -- cgit v1.2.3-70-g09d2