JavaScript: remove unnecessary "Conditional Expression" context
ClosedPublic

Authored by nibags on Aug 19 2019, 8:05 PM.

Details

Summary

The "Conditional Expression" context generates bugs when using JavaScript as an embedded language (for example, in HTML or CoffeeScript), since it prevents closing the JavaScript block after writing "?".

Diff Detail

Repository
R216 Syntax Highlighting
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
nibags created this revision.Aug 19 2019, 8:05 PM
Restricted Application added projects: Kate, Frameworks. · View Herald TranscriptAug 19 2019, 8:05 PM
Restricted Application added subscribers: kde-frameworks-devel, kwrite-devel. · View Herald Transcript
nibags requested review of this revision.Aug 19 2019, 8:05 PM
dhaumann accepted this revision.Aug 20 2019, 7:14 AM

Looks very reasonable to me, thanks.

This revision is now accepted and ready to land.Aug 20 2019, 7:14 AM
This revision was automatically updated to reflect the committed changes.