fgnass / spin.js

A spinning activity indicator
http://spin.js.org
MIT License
9.3k stars 1.02k forks source link

Add a tip to check that the document has loaded #339

Closed IvanYurchenko closed 6 years ago

IvanYurchenko commented 7 years ago

It might be obvious for experienced programmers but I think it's not obvious for the beginners. So I'd prefer to explicitly specify that this needs to run when the page was loaded to make sure the DOM is created so the target will be found by ID.

theodorejb commented 6 years ago

@IvanYurchenko Thanks for the contribution!