Skip to content

Tidy up client JS dependencies #146

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 11, 2020
Merged

Tidy up client JS dependencies #146

merged 1 commit into from
Apr 11, 2020

Conversation

hdgarrood
Copy link
Collaborator

Runtime JS dependencies are obtained as follows:

  • dependencies for the main client window (eg jquery, ace) are obtained
    via cdnjs.cloudflare.com, and so we don't need anything beyond than
    the script tags in index.html.
  • dependencies needed inside the iframe (eg react, for gists which use
    react-based libraries like purescript-react or purescript-thermite)
    are obtained via the new 'shims' mechanism introduced by Load individual modules on demand #128 / Merge changes from #128 #136.

The files I am removing in this commit do not appear to be in use. I've
also removed non-purescript dependencies from bower.json, as they also
do not appear to be in use.

Runtime JS dependencies are obtained as follows:

- dependencies for the main client window (eg jquery, ace) are obtained
  via cdnjs.cloudflare.com, and so we don't need anything beyond than
  the script tags in index.html.
- dependencies needed inside the iframe (eg react, for gists which use
  react-based libraries like purescript-react or purescript-thermite)
  are obtained via the new 'shims' mechanism introduced by #128 / #136.

The files I am removing in this commit do not appear to be in use. I've
also removed non-purescript dependencies from bower.json, as they also
do not appear to be in use.
@hdgarrood
Copy link
Collaborator Author

Resolves #144

@hdgarrood hdgarrood merged commit e51fcb4 into master Apr 11, 2020
@hdgarrood hdgarrood deleted the tidy-up-client-js-deps branch April 11, 2020 19:35
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.

2 participants