I'm writing a couple of simple zepto plugins that I would like to use in my application:
Including the zepto library and the two files above I get the error TypeError: $.JwtAjax is not a function
Here is the code of the page calling it:
Any help would be appreciated.
I was missing this:
$.JwtToken = $.fn.JwtToken;
That is declaring the function a the level of the $ namespace as alias of the function defintion at $.fn namespace.