Rename the function of a jquery plugin to avoid duplicate function?
I want to use:
https://github.com/danielstocks/jQuery-Collapse/
But I'm already using a older version of it modifed by someone else for a certain purpose.
to rename the function from being
.collapse() to say .collapse_vanilla() or .collapse.vanilla()