Skip to content

Instantly share code, notes, and snippets.

Created August 16, 2018 18:20
What would you like to do?
test for jQuery support
// test for jQuery
if ('undefined' == typeof window.jQuery) {
console.error('~jQuery is required')
} else {
$(document).ready( function(){
// jQuery loaded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment