I have a section in my plugin that goes like this:
- function(options, callback) {
- if($.isFunction(options)) {
- options = null;
- callback = options;
- }
EDIT: Its supposed to see if you didn't put the options parameter so it will cancel the options parameter and transfer the code to the callback parameter.
For some reason, its not working.
Could somebody help me?