aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/tau/api.cljs
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/tau/api.cljs')
-rw-r--r--src/frontend/tau/api.cljs15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/frontend/tau/api.cljs b/src/frontend/tau/api.cljs
deleted file mode 100644
index e69bc9c..0000000
--- a/src/frontend/tau/api.cljs
+++ /dev/null
@@ -1,15 +0,0 @@
-(ns tau.api
- (:require
- [ajax.core :as ajax]))
-
-(defn get-request
- ([uri on-success on-failure]
- (get-request uri on-success on-failure {}))
- ([uri on-success on-failure params]
- {:http-xhrio {:method :get
- :uri uri
- :params params
- :format (ajax/json-request-format)
- :response-format (ajax/json-response-format {:keywords? true})
- :on-success on-success
- :on-failure on-failure}}))