Skip to content

Conversation

@larissacribeiro
Copy link
Member

hey guys, this is a follow up from #1255.
Turns out the nullish coalescing operator (??) is not supported in the JavaScript version used by AlloyUI, this wasn't happening when I ran tests at runtime using the Chrome devtools override feature, but after it got merged, I kept getting this error: Skip /o/frontend-js-aui-web/aui/aui-datepicker/aui-datepicker-min.js because its content type is not CSS or JavaScript
So to be safe, I'm using a plain ternary here. thank you!

@larissacribeiro larissacribeiro changed the title fix(alloy-ui) use standard javascript for check to avoid compatibility issues fix(alloy-ui): Use standard javascript for check to avoid compatibility issues Aug 18, 2025
@bryceosterhaus bryceosterhaus merged commit 33055b9 into liferay:master Aug 20, 2025
7 of 8 checks passed
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

Successfully merging this pull request may close these issues.

2 participants