Bez popisu

jherve 61b064e3e3 Add a "getContext" function před 1 rokem
extension e1922ea18d Allow extension to run on all urls před 1 rokem
src 61b064e3e3 Add a "getContext" function před 1 rokem
test e5c7ca39dc Use a typeclass to factor "run" operation před 1 rokem
.gitignore c13a8baeb4 Initial commit před 1 rokem
README.md c13a8baeb4 Initial commit před 1 rokem
package-lock.json a23b64a411 Add 2 foreign interfaces for DOM před 1 rokem
package.json a23b64a411 Add 2 foreign interfaces for DOM před 1 rokem
packages.dhall c13a8baeb4 Initial commit před 1 rokem
spago.dhall 61b064e3e3 Add a "getContext" function před 1 rokem

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