hey guys , i have been trying to look up the code of a plugin called unveil.js , basically , i have this one line , which i am struggling to figure out in the plugin , look below :
- $.isFunction(o.starting) && ! callback && o.starting(el, li.eq(current));
The line above can also be found on the git repo of the plugin :
now i figured out the above line , is nothing but a sequence of if conditions , something like below :
so , 1st
$.isFunction(o.starting)
is checked , if true , only then ,
!
callback
&& is checked
and if !checked is true then only
o.starting(el, li.eq(current)); is checked .
now i am having a problem with the last part of that statement : I.E.
o.starting(el, li.eq(current));
it seems to be a function that executing , i checked the entire Unslider.js code and found no
function called starting(param , param2);
the only reference to anything close to starting is on line 165(the line i am having difficulty
with) of the plugin and line 26 .
can somebody tell me what exactly is o.starting(el, li.eq(current)); doing in the plugin ?? is
it a function executing ??
Thanks
Gautam.