Open crmpicco opened 4 years ago
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:
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:
jstz
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?
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
:When I try to reference
jstz
in the code I get the following error:This is my calling code:
Are there any other steps to upgrading or am I missing something?