mirror of
https://github.com/metosin/reitit.git
synced 2025-12-18 08:51:12 +00:00
cleanup
This commit is contained in:
parent
5b97387bad
commit
e4eae4f3b2
2 changed files with 3 additions and 3 deletions
|
|
@ -1,5 +1,4 @@
|
|||
(ns reitit.frontend
|
||||
""
|
||||
(:require [clojure.set :as set]
|
||||
[reitit.coercion :as coercion]
|
||||
[reitit.coercion :as rc]
|
||||
|
|
@ -31,6 +30,9 @@
|
|||
(assoc match :parameters parameters)))))
|
||||
|
||||
(defn match-by-name
|
||||
"Given a router, route name and optionally path-parameters,
|
||||
will return a Match (exact match), PartialMatch (missing path-parameters)
|
||||
or `nil` (no match)."
|
||||
([router name]
|
||||
(match-by-name router name {}))
|
||||
([router name path-params]
|
||||
|
|
|
|||
|
|
@ -1,9 +1,7 @@
|
|||
(ns reitit.frontend.history
|
||||
""
|
||||
(:require [reitit.core :as reitit]
|
||||
[reitit.core :as r]
|
||||
[reitit.frontend :as rf]
|
||||
[reitit.impl :as impl]
|
||||
[goog.events :as gevents])
|
||||
(:import goog.Uri))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue