mirror of
https://github.com/aelve/guide.git
synced 2025-01-03 19:19:11 +03:00
Comment out unused ToSelector
This commit is contained in:
parent
26b2d80520
commit
02bae19083
@ -303,12 +303,14 @@ instance CanSelect ComplexSelector where
|
||||
Displayed -> anyM (andNotDead . isDisplayed) es
|
||||
_ -> defAnyElem s es
|
||||
|
||||
{-
|
||||
class ToSelector a where
|
||||
toSelector :: a -> Selector
|
||||
instance ToSelector Selector where
|
||||
toSelector = id
|
||||
instance ToSelector Text where
|
||||
toSelector = ByCSS
|
||||
-}
|
||||
|
||||
-- | Ensure that the element is the only element matching the selector.
|
||||
select :: CanSelect a => a -> WD Element
|
||||
|
Loading…
Reference in New Issue
Block a user