Nav apraksta

jherve 10869b6967 Rename "toPage" into "toOutput" 1 gadu atpakaļ
extension 3075167f60 Allow extension to run on all urls 2 gadi atpakaļ
src 10869b6967 Rename "toPage" into "toOutput" 1 gadu atpakaļ
test f966773a56 Use a typeclass to factor "run" operation 1 gadu atpakaļ
.gitignore 26ab58d099 Bump versions 2 gadi atpakaļ
README.md e5ae20ff25 More updates 2 gadi atpakaļ
package-lock.json 51310c86d0 Add 2 foreign interfaces for DOM 2 gadi atpakaļ
package.json 51310c86d0 Add 2 foreign interfaces for DOM 2 gadi atpakaļ
packages.dhall 095270f087 Reinit project 2 gadi atpakaļ
spago.dhall 3fad803c1b Add a "getContext" function 1 gadu atpakaļ

README.md

Exemple of Firefox extension with PureScript

Basically just a stripped out version of : https://github.com/Kazy/PureTabs

Tests can be run with spago test [TODO : for some reason setting npm "test" script to this value won't work]

Javascript source maps won't work out-of-the-box if JS source files are in e.g. extension/src instead of extension. This can surely be solved using this issue : https://github.com/parcel-bundler/parcel/issues/3750