aboutsummaryrefslogtreecommitdiff
path: root/src/js/BotleaguesApi.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/BotleaguesApi.js')
-rw-r--r--src/js/BotleaguesApi.js19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/js/BotleaguesApi.js b/src/js/BotleaguesApi.js
deleted file mode 100644
index c37adab..0000000
--- a/src/js/BotleaguesApi.js
+++ /dev/null
@@ -1,19 +0,0 @@
-function BotleaguesApi(){}
-
-BotleaguesApi.url = 'https://api.local.botleagues.camilstaps.nl';
-
-BotleaguesApi.request = function(user_options) {
- var options = {
- endpoint: null,
- method: 'GET',
- dataType: 'jsonp'
- };
- for (var name in user_options) {
- options[name] = user_options[name];
- }
-
- var url = BotleaguesApi.url + options['endpoint'];
- delete options['endpoint'];
-
- jQuery.ajax(url, options);
-} \ No newline at end of file