Skip to content
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

Modify withSpinner.R to allow type=0 #18

Merged
merged 2 commits into from
Jan 31, 2020
Merged

Conversation

sTeamTraen
Copy link
Contributor

@sTeamTraen sTeamTraen commented Jun 10, 2018

Hi - I hope I've done this right.

This didn't need many changes:

  • Allowed a range of 0:8 instead of 1:8 for type.
  • Made the "Loading" message conditional on their being a spinner (i.e., "type=0" is completely silent; I guess this is a question of taste and design philosophy).
  • Removed what seemed to be an unnecessary sprintf() for the load of fallback.css (as I was working my way through the code trying to understand it).
  • Added load0.css to avoid a runtime error in the browser console.

Thanks for reading,
Nick

@daattali daattali merged commit 6b4c24e into daattali:master Jan 31, 2020
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