Jquery UI sandcastle $ Issue

/global $/ is the top of the script

There seems to be something funny going on with the error highlighting though, because if you delete the ... /*global */ then you get undefined errors.

You’re not seeing errors, just jsHint warnings about undefined ’'. The comment at the top tells jsHint that is globally defined, so it won’t report the warning. The code runs even if the comment is not there.

–Ed.