The plugin Messi has a bad integration with JQuery, this makes it obligatory to "< script src="messi.js"> " at the end of body, to fix this, change this:
(function($) {
function Messi(e,t){
...
}
...
// End of file
$.Messi = Messi;
})(jQuery);
This solves the problem (you can put the script anywhere in the code) and creates a healthier integration with JQuery, Example of the new call:
The plugin Messi has a bad integration with JQuery, this makes it obligatory to "< script src="messi.js"> " at the end of body, to fix this, change this:
(function($) { function Messi(e,t){ ... } ... // End of file $.Messi = Messi; })(jQuery);
This solves the problem (you can put the script anywhere in the code) and creates a healthier integration with JQuery, Example of the new call:
new $. Messi (message, options);