How to call a nested function in jquery plug ins
I've developed a plugin that has a few nested functions.
here is code :
(function( $ ){
$.fn.myPlugin = function(options) {
function applyCorner() { // I want to test this.
return true;
}
function someMethod(){
}
};
})( jQuery );
I know I can test them by initiating the plugin, etc. but i want to test/call applyCorner() method alone.
Thanks in advance.