DSMsaveload/inject_scripts/save.js

8 lines
297 B
JavaScript
Raw Normal View History

2022-09-05 03:55:34 +00:00
(function () {
const expressions = Calc.getExpressions();
const expressionBox = document.getElementById("EXPORTEXPRESSION");
expressionBox.textContent = JSON.stringify(expressions);
const updateEvent = new Event("updatedExpression");
document.dispatchEvent(updateEvent);
})();