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

Problems upgrading to 1.0.7 with Yarn and RequireJS #7

Open
crmpicco opened this issue May 13, 2020 · 0 comments
Open

Problems upgrading to 1.0.7 with Yarn and RequireJS #7

crmpicco opened this issue May 13, 2020 · 0 comments

Comments

@crmpicco
Copy link

I am using RequireJS to manage my JS modules and I am having a tough time trying to update from 1.0.5 to 1.0.7.

This is my change to config.js:

-       jstz: '/app/assets/vendor/jstimezonedetect/jstz',
+       jstz: '/app/assets/vendor/jstimezonedetect/dist/jstz.min',

When I try to reference jstz in the code I get the following error:

ReferenceError: "jstz is not defined"

This is my calling code:

        var timezone = jstz.determine();
        timeZoneField.val(timezone.name());

Are there any other steps to upgrading or am I missing something?

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

1 participant