Skip to content
Snippets Groups Projects
Unverified Commit 479b8450 authored by Michael Große's avatar Michael Große
Browse files

feat: canonically provide $ACT to javascript

It would be helpful if there were a reliable way to determine the
current mode in javascript, for example if we only want to execute some
javascript in `show` or `preview` modes. This writes the final mode to
the JSINFO object right before it is written out as header, so we can
hopefully capture the actual mode without an plugin changing it later
on.
parent abab02f4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment