From bc9e5b0ea863a17537987faa5a72b00efc7767d1 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Mon, 18 Jul 2022 22:09:58 -0400 Subject: Upgrade nixpkgs, ghc923 I ended up deleting miso, and consequently all files under Hero/ and Miso/, because I couldn't get miso to build with GHC 9.2. Other things: - Niv has been wrapped by Biz/Bild/Deps.hs, so I can extend it to my liking. - Apply-refact is gone because I couldn't get it to build. - Disabled python stuff. --- Miso/Extend.hs | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 Miso/Extend.hs (limited to 'Miso/Extend.hs') diff --git a/Miso/Extend.hs b/Miso/Extend.hs deleted file mode 100644 index 9ebdd08..0000000 --- a/Miso/Extend.hs +++ /dev/null @@ -1,28 +0,0 @@ -{-# LANGUAGE OverloadedStrings #-} -{-# LANGUAGE NoImplicitPrelude #-} - -module Miso.Extend - ( crossorigin_, - onPreventClick, - ) -where - -import Alpha -import Miso -import Miso.String - --- | HTML crossorigin attribute --- --- https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/crossorigin -crossorigin_ :: MisoString -> Attribute action -crossorigin_ = textProp "crossorigin" - --- | Like 'onClick' but prevents the default action from triggering. Use this to --- overide 'a_' links, for example. -onPreventClick :: action -> Attribute action -onPreventClick action = - onWithOptions - Miso.defaultOptions {preventDefault = True} - "click" - emptyDecoder - (\() -> action) -- cgit v1.2.3