You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the smartyurl.minifyHtmloutput setting is enabled (set to true), comment lines in JavaScript code that use // are not removed during the minification process. For example:
<script>
// set the redirectCondition
var redirectCondition = document.getElementById("redirectCondition");
redirectCondition.value = "device";
</script>
This can result in errors in the JavaScript code.
Suggested Solution:
If you're a SmartyURL developer or creating tools and UI for SmartyURL, we recommend using /* */ for comments in JavaScript output instead of // while we address this issue. This ensures proper comment handling during the minification process.
We appreciate your understanding, and we'll address this issue in an upcoming update.
The text was updated successfully, but these errors were encountered:
When the
<script> // set the redirectCondition var redirectCondition = document.getElementById("redirectCondition"); redirectCondition.value = "device"; </script>smartyurl.minifyHtmloutput
setting is enabled (set to true), comment lines in JavaScript code that use // are not removed during the minification process. For example:This can result in errors in the JavaScript code.
Suggested Solution:
If you're a SmartyURL developer or creating tools and UI for SmartyURL, we recommend using /* */ for comments in JavaScript output instead of // while we address this issue. This ensures proper comment handling during the minification process.
We appreciate your understanding, and we'll address this issue in an upcoming update.
The text was updated successfully, but these errors were encountered: