You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently it's like that:
jintervals(seconds, format);
I would like to make the seconds argument optional, so that calling
jintervals with just a format string would give me a function that
I could use over and over:
var format = jintervals("{Days}");
for (var i=0; i<data.length; i++) {
alert( format(data[i]) );
}
But to really do that correctly, I have to switch the order of arguments:
jintervals(format, seconds);
Which means it will be backwards-incompatible change.
Original issue reported on code.google.com by [email protected] on 21 May 2009 at 1:57
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 21 May 2009 at 1:57The text was updated successfully, but these errors were encountered: