Skip to content

Conversation

@flip111
Copy link

@flip111 flip111 commented Nov 5, 2024

This branch is usable as is, specifically for working with the upcoming version of web-dom

however i recommend to not merge it now and let it stay in draft at least until the new web-dom version is out. And secondly it would be nice to make the test runnable in the browser or nodejs.

  • make compatible with unreleased version of web-dom https://github.com/purescript-web/purescript-web-dom/tree/326c125d2f9dd5c5c1e74ac17fb95d5ddd7b4450
  • fix missing import in test/Main.purs
  • moved from bower/psc-package to spago/registry
  • deleted test js and html. Because the js was doing a ES6 module import while not being used as a module itself. When used as module (for example with <script type="module" src="./index.js"></script>) CORS restrictions come into play. This should either be done with a local development server or a shim like jsdom to test it with nodejs

* make compatible with unreleased version of web-dom https://github.com/purescript-web/purescript-web-dom/tree/326c125d2f9dd5c5c1e74ac17fb95d5ddd7b4450
* fix missing import in test/Main.purs
* moved from bower/psc-package to spago/registry
* deleted test js and html. Because the js was doing a ES6 module import while not being used as a module itself. When used as module (for example with <script type="module" src="./index.js"></script>) CORS restrictions come into play. This should either be done with a local development server or a shim like jsdom to test it with nodejs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant