purescript-simple-dom
purescript-simple-dom copied to clipboard
This patch fixes build errors with PureScript 0.11.4. There are 93 warnings left, i don't know if they are new. My fix is in this commit: https://github.com/eunikolsky/purescript-simple-dom/commit/4358ce7a6f88457184af70f0eb44855a50dec1f5, and this branch...
I can split this into 2 separate PRs if needed. So far I have a problem with running tests. I have updated them to use `purescript-spec`, but still couldn't run...
purescript-simple-dom doesn't seem to install with purescript 0.9.2 indeed it require some dependencies with versions non compatible with 0.9.2 because of some syntax changes (infix operators, for example)
Coming from Haskell, it's hard to follow the examples in the `README` without type information. Putting type annotations on the `setContents` function, `modifyLinkTarget` function, etc. would make the example much...
If I were to make a pull request adding the `head` method to the [`Document`](https://github.com/aktowns/purescript-simple-dom/blob/master/src/Data/DOM/Simple/Document.purs#L16) class, would it be accepted? https://developer.mozilla.org/en-US/docs/Web/API/Document/head From reading [this stackoverflow question](http://stackoverflow.com/questions/16204756/document-head-v-document-getelementsbytagnamehead0), it looks like there...
Hey, TL;DR of this approach is provided in commit, discussed in #42. Also, `Sugar` removed; tests tailored for buggy DOM implementation loosened (to match less buggy DOM implementations, such as...
- What is Zombie.js? - Why do we test it? - How to test the project with more conventional phantomjs? - How to test the project in browser? --- Regarding...
While #44 fixes orphan instances issue, making the library compatible with 0.7.3 (and, from I gathered from CHANGELOG, with 0.7.4 as well), it makes API more clumsy by requiring an...
Currently, `HTMLDocument` is an instance of `Element`, which isn't actually true in the DOM (attribute and class-related functions are not on `Document`), but `Element` also contains some methods actually on...
``` purescript module Validator.Main where import Control.Monad.Eff import Data.DOM.Simple.Element import Data.DOM.Simple.Window import Data.DOM.Simple.Types import Data.Traversable import qualified Data.Array as A modifyLinkTarget link = do attr Warning: Error at src/Validator/Main.purs line...