Skip to content
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

jQuery.Deferred exception: Property "rulers" #44

Closed
EndersonPro opened this issue Jul 30, 2019 · 8 comments
Closed

jQuery.Deferred exception: Property "rulers" #44

EndersonPro opened this issue Jul 30, 2019 · 8 comments
Labels

Comments

@EndersonPro
Copy link

jQuery.Deferred exception: Property "rulers" cannot set because undefined or invalid variable. TypeError: Property "rulers" cannot set because undefined or invalid variable.

image

@zedle
Copy link

zedle commented Jul 31, 2019

+1 getting this as well

@zedle
Copy link

zedle commented Jul 31, 2019

figured this out, gotta set the rulers option in the init. not sure why this isn't in the docs.

@EndersonPro
Copy link
Author

Could you show me how you solved it?

@ka215
Copy link
Owner

ka215 commented Aug 2, 2019

Hi there, and thank you for telling me.

It was a bug since version 2.0.0 beta 2.
Sorry I'd not noticed that. I'll fix the bug asap.

Thank you,

@ka215 ka215 added the bug label Aug 2, 2019
@FHantke
Copy link

FHantke commented Aug 15, 2019

@EndersonPro I do it like this:

<script>
    $(function () {
        let options = {
            ruler: {
                truncateLowers: false,
                top: {
                    lines: [ "year", "month", "weekday", "day" ],
                    height: 26,
                    fontSize: 12,
                    color: "#333",
                    background: "transparent",
                    locale: "de-DE",
                    format: {timeZone: "UTC", weekday: "short", year: "numeric", month: "long", day: "numeric"}
                },
                bottom: {
                    lines: [ "week", "year" ],
                }
            },
        }
        $("#myTimeline").Timeline(options);
    })
    </script>

@rkorzeniewski
Copy link

@ka215 did you fixed the bug?

@ka215
Copy link
Owner

ka215 commented Aug 27, 2019

Hi there,

I fixed that bug then released version 2.0.0 beta-3.

Thank you,

@ka215 ka215 closed this as completed Nov 19, 2019
@ka215
Copy link
Owner

ka215 commented Nov 19, 2019

already fixed this.

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

No branches or pull requests

5 participants