How can I use two jQuery Plugins having the same name?
javascript, jquery, jquery-plugins, requirejs
Solution
You can rename the plugin like this:
<script src="jquery.js"></script>
<script src="firstplugin.js"></script>
<script>
$.fn.editableFirst = $.fn.editable;
</script>
<script src="secondplugin.js"></script>
`editableFirst` should be something more meaningful to you.
Problem
In a big web project I would like to use a jQuery Plugins `editable` which name is the same of the exiting one but have a different behaviour. There is a clean way to rename the plugin? Maybe using require.js?