aboutsummaryrefslogtreecommitdiff
path: root/public/javascripts/getURLOfUser.js
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2016-12-14 12:19:41 +0100
committerNoah Loomans <noahloomans@gmail.com>2016-12-14 12:19:41 +0100
commit746abfd1827bf7d6d51c231b5509d5f609e71f07 (patch)
tree95e784f470b865fbd54ddcbfa0d8cf8cecc51a15 /public/javascripts/getURLOfUser.js
parentaa3206fb3e828e8ba3ee182e5770cfb4ddc21dfe (diff)
removed unused files
Diffstat (limited to 'public/javascripts/getURLOfUser.js')
-rw-r--r--public/javascripts/getURLOfUser.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/public/javascripts/getURLOfUser.js b/public/javascripts/getURLOfUser.js
deleted file mode 100644
index 1d27175..0000000
--- a/public/javascripts/getURLOfUser.js
+++ /dev/null
@@ -1,9 +0,0 @@
-var leftPad = require('left-pad')
-var getWeek = require('./getWeek')
-
-function getURLOfUsers (weekOffset, type, id) {
- return `//${window.location.host}/meetingpointProxy/Roosters-AL%2Fdoc%2Fdagroosters%2F` +
- `${(getWeek() + weekOffset)}%2F${type}%2F${type}${leftPad(id, 5, '0')}.htm`
-}
-
-module.exports = getURLOfUsers