Skip to content

Instantly share code, notes, and snippets.

@erictherobot
Created May 10, 2016 17:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erictherobot/35ebf62d5602b54caf8ee7f76d7ae80e to your computer and use it in GitHub Desktop.
Save erictherobot/35ebf62d5602b54caf8ee7f76d7ae80e to your computer and use it in GitHub Desktop.
is jQuery loaded?
// just a simple snippet to paste into your console to determine if jQuery is loaded
if (jQuery)
console.dir("jQuery "+$().jquery +" loaded");
else
console.dir("jQuery NOT loaded");
if($.ui)
console.dir("jQuery UI "+$.ui.version+" loaded");
else
console.dir("jQuery UI NOT loaded");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment