Usually I just use 3rd party plugin for most of my project, e.g.
something like that, but when I try to create a class which has a method like
jQuery.ajax, to let the user who use my library to be able to handle the callback. So here is what I found:
Your defination goes here
Your implementation goes here
If let say you want to pass extra params