Skip to content

Conversation

@JordanMartinez
Copy link
Contributor

@JordanMartinez JordanMartinez commented Dec 8, 2020

@JordanMartinez
Copy link
Contributor Author

CI fails with this error:

> eslint src && spago build --purs-args '--censor-lib --strict'


/home/runner/work/purescript-web-html/purescript-web-html/src/Web/HTML.js
Error:   1:11  error  'window' is already defined as a built-in global variable  no-redeclare

/home/runner/work/purescript-web-html/purescript-web-html/src/Web/HTML/HTMLImageElement.js
Error:   1:11  error  'Image' is already defined as a built-in global variable  no-redeclare

✖ 2 problems (2 errors, 0 warnings)

@kl0tl
Copy link
Contributor

kl0tl commented Dec 8, 2020

This happens because of the /* global window */ and /* global Image */ comments in src/Web/HTML.js and src/Web/HTML/HTMLImageElement.js. We can remove them.

spago.dhall Outdated
Comment on lines 1 to 4
{-
Welcome to a Spago project!
You can edit this file as you like.
-}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we remove this comment?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. I'm actually wondering why that comment still exists. I think I'll open an issue.

@JordanMartinez JordanMartinez deleted the updateTo14 branch December 10, 2020 02:33
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.

3 participants