aboutsummaryrefslogtreecommitdiff
path: root/public/javascripts/getUsers.js
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2016-12-14 12:57:59 +0100
committerNoah Loomans <noahloomans@gmail.com>2016-12-14 12:57:59 +0100
commit7c4d1ca2d771ee527201ccd6447e70da97ad33be (patch)
treee151354bb2182d9788c0e2e8e85d560ccb862f3f /public/javascripts/getUsers.js
parenta016343e0a88e1bb46a2deed0b27dda7b6bc7e44 (diff)
parentb7027583efff12e1bd5acdbb4077ab36c5226839 (diff)
Merge branch 'refactor' into beta
Diffstat (limited to 'public/javascripts/getUsers.js')
-rw-r--r--public/javascripts/getUsers.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/public/javascripts/getUsers.js b/public/javascripts/getUsers.js
deleted file mode 100644
index 780ae49..0000000
--- a/public/javascripts/getUsers.js
+++ /dev/null
@@ -1,7 +0,0 @@
-var Promise = require('bluebird')
-var request = Promise.promisify(require('request'))
-
-module.exports = function () {
- return request(`http://${window.location.host}/getUserIndex`)
- .then(data => JSON.parse(data.body))
-}