From fd26f90cda8e1e3c185587cc1b7e1a849a86c1b5 Mon Sep 17 00:00:00 2001 From: Brandon Elam Barker Date: Fri, 6 Mar 2020 13:58:54 +0000 Subject: [PATCH] removing old (unused) tooltip class --- README.md | 3 +++ src/Metajelo/UI.purs | 8 +------- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 1b3977c..9537ca9 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,9 @@ mkdir css ln -s /PATH/TO/metajelo-ui-css-classes/uicss css ``` +On Windows, you will need to use `mklink /d css X:\PATH\TO\metajelo-ui-css-classes\uicss` +instead of the `ln -s` command. + Now edit `index.html` and replace `prod.XXXXX.css` with `css/style-dev.css` so that you now have a line that looks like: diff --git a/src/Metajelo/UI.purs b/src/Metajelo/UI.purs index 2ac45f2..e1a89d4 100644 --- a/src/Metajelo/UI.purs +++ b/src/Metajelo/UI.purs @@ -403,7 +403,7 @@ accumulateResType oldRT = D.div_ [MC.resourceType] do formatSignal :: CtrlSignal HTML (Maybe M.Format) formatSignal formatMay = D.div_ [MC.format] do - tooltipS $ textInput formatMay + textInput formatMay formatSigArray :: CtrlSignal HTML (Tuple Int (Array M.Format)) formatSigArray formats = D.div_ [MC.formatList] $ arrayView formatSignal formats @@ -423,12 +423,6 @@ accumulateResMdSource oldRMDS = D.div_ [MC.resourceMDSource] do get >>= Opt.maySetOptState (SProxy :: _ "relationType") relTypMay ) oldRMDS -tooltip :: forall a. Widget HTML a -tooltip = D.div_ [MC.tooltip] empty - -tooltipS :: forall a. Signal HTML a -> Signal HTML a -tooltipS sigIn = D.div_ [MC.tooltip] sigIn - -- TODO: PR to purescript-option getOpt :: forall label option option' proxy suboption.