Skip to content
This repository has been archived by the owner on Mar 5, 2023. It is now read-only.

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
grmble committed Feb 15, 2018
1 parent fe95368 commit 3a828aa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Bonsai/DOM.purs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ foreign import primitives :: forall eff.
{ window :: Foreign
, elementById :: Fn2 ElementId Document Foreign
, appendChild :: Fn2 Element Element Unit
, addEventListener :: forall eff. Fn4 ListenerOptions String (Foreign -> Eff (dom::DOM|eff) Unit) Element Unit
, addEventListener :: Fn4 ListenerOptions String (Foreign -> Eff (dom::DOM|eff) Unit) Element Unit
, clearElement :: Fn1 Element Unit
, copyFakeArray :: Fn1 Foreign (Array Foreign)
, focusElement :: Fn1 Element Unit
Expand All @@ -120,9 +120,9 @@ foreign import primitives :: forall eff.

-- | Event listener options.
-- |
-- | * capture: events of this type will be dispatched to this listener first
-- | * once: will only be invoked once - will be automatically removed
-- | * passive: the listener will never call preventDefaults().
-- | * `capture`: events of this type will be dispatched to this listener first
-- | * `once`: will only be invoked once - will be automatically removed
-- | * `passive`: the listener will never call preventDefaults().
-- | see mdn (scrolling performance)
type ListenerOptions =
{ capture :: Boolean
Expand Down

0 comments on commit 3a828aa

Please sign in to comment.