mirror of
https://github.com/metosin/reitit.git
synced 2025-12-21 10:01:11 +00:00
Dead code
This commit is contained in:
parent
7ba1c98753
commit
d5a809fdf9
1 changed files with 0 additions and 12 deletions
|
|
@ -234,15 +234,3 @@
|
||||||
[["/a"] ["/a"]]))))
|
[["/a"] ["/a"]]))))
|
||||||
(testing "can be configured to ignore"
|
(testing "can be configured to ignore"
|
||||||
(is (not (nil? (r/router [["/a"] ["/a"]] {:conflicts (constantly nil)})))))))
|
(is (not (nil? (r/router [["/a"] ["/a"]] {:conflicts (constantly nil)})))))))
|
||||||
|
|
||||||
(require '[reitit.core :as r])
|
|
||||||
|
|
||||||
(extend-type java.io.File
|
|
||||||
r/Expand
|
|
||||||
(expand [file options]
|
|
||||||
(r/expand
|
|
||||||
(fn [_] file)
|
|
||||||
options)))
|
|
||||||
|
|
||||||
(r/router
|
|
||||||
["/file" (java.io.File. "index.html")])
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue