function ($, _){
...
function _snackbar(content, options) {
options = _.extend({ timeout: 3000 }, options);
options.content = content;
$.snackbar(options);
}
...
}
source from https://thinkster.io/django-angularjs-tutorial#rendering-post-objects
It looks like that "_" and "$" are some parameters, I googled and noticed that underscore and jquery are related to these symbols. Could anyone kindly explain that what '_' and '$' stand for, how they make sense and why they are needed here? Thanks a lot.