Created
October 14, 2018 09:20
-
-
Save blackmambahk/fb2636f6f26355edfb393cf71cace4f3 to your computer and use it in GitHub Desktop.
Replacement for jQuery ready
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//replacement for jQUery ready | |
document.addEventListener("DOMContentLoaded", function(event) { | |
//do work | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment