mirror of
https://github.com/metosin/reitit.git
synced 2025-12-18 00:41:12 +00:00
Clean duplicate require
This commit is contained in:
parent
e42c309144
commit
82ad1fa6cc
1 changed files with 1 additions and 2 deletions
|
|
@ -1,7 +1,6 @@
|
||||||
(ns reitit.frontend.history
|
(ns reitit.frontend.history
|
||||||
""
|
""
|
||||||
(:require [reitit.core :as reitit]
|
(:require [reitit.core :as reitit]
|
||||||
[goog.events :as e]
|
|
||||||
[reitit.core :as r]
|
[reitit.core :as r]
|
||||||
[reitit.frontend :as rf]
|
[reitit.frontend :as rf]
|
||||||
[reitit.impl :as impl]
|
[reitit.impl :as impl]
|
||||||
|
|
@ -89,7 +88,7 @@
|
||||||
(-on-navigate this (-get-path this))
|
(-on-navigate this (-get-path this))
|
||||||
(assoc this
|
(assoc this
|
||||||
:listen-key (gevents/listen js/window goog.events.EventType.POPSTATE handler false)
|
:listen-key (gevents/listen js/window goog.events.EventType.POPSTATE handler false)
|
||||||
:click-listen-key (e/listen js/document e/EventType.CLICK ignore-anchor-click))))
|
:click-listen-key (gevents/listen js/document goog.events.EventType.CLICK ignore-anchor-click))))
|
||||||
(-on-navigate [this path]
|
(-on-navigate [this path]
|
||||||
(on-navigate (rf/match-by-path router path) this))
|
(on-navigate (rf/match-by-path router path) this))
|
||||||
(-stop [this]
|
(-stop [this]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue