assets/themes/j1/adapter/js/customModule.js in j1-template-2022.4.9 vs assets/themes/j1/adapter/js/customModule.js in j1-template-2022.4.10
- old
+ new
@@ -48,9 +48,11 @@
{% comment %} Set config options (unused)
--------------------------------------------------------------------------------
{% assign custom_module_options = custom_module_defaults | merge: custom_module_settings %}
-------------------------------------------------------------------------------- {% endcomment %}
+{% comment %} Detect prod mode
+-------------------------------------------------------------------------------- {% endcomment %}
{% assign production = false %}
{% if environment == 'prod' or environment == 'production' %}
{% assign production = true %}
{% endif %}