Skip to content

Default parameter value #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mhkuu opened this issue Dec 5, 2014 · 1 comment
Open

Default parameter value #1

mhkuu opened this issue Dec 5, 2014 · 1 comment

Comments

@mhkuu
Copy link

mhkuu commented Dec 5, 2014

I think

_toTime: function(cell, last=false)

Should be something like this:

_toTime: function(cell, last)
{
    last = last || false; 

The former doesn't seem to be supported, at least not in Chrome, that is.

@AJdeMooij
Copy link
Owner

That does look good.
Live and learn.
I'll see when I can get around to changing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants