I’ve made a Utilities javascript “class” that performs some utility functions.
Instead of having to call Utilities.XYZ, I’d like to be able to do something like #.XYZ.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
#is invalid identifier character in Javascript but you can use something elsethis will make it possible to use
$U.XYZ. Since$is used by many Javascript libraries you can use$Uas an alias forUtilities. Easy to understand/remember and short to type. This is aslo more versatile than single sign identifier, because you can define several aliases each for their own longer coutnerpart: