| ||
Returns the root Redux state, the JS object holding the complete state of the app. This is hacky - it reaches deep into the internals of Redux, and may break in the future. That seems acceptable for a dev time helper. |
| |
Retrieves the current query's card from the Redux state. Undefined behavior if there is not currently a single question loaded in the UI. |
| |
Gets the legacy query for the currently loaded question. |
| |
Gets the MLv2 query for the currently loaded question. Hack: This relies on a dev-mode-only global property that's set whenever a Question object is converted to MLv2. |
| |