Closed jxn-30 closed 4 years ago
Provieded browser compatibility manually for browserTitle
.
As window.tellParent
is not used anywhere else, it is currently to compley to provide a store action.
Can be reopened if requried and a store action can be made easily
Describe what happens
window.tellParent
takes a string as parameter that is executed witheval
. Problem: Code in string is not transpiled. Older browsers can be incompatible.How to reproduce?
browserTitle
does not work as?.
will produce a syntax error.Expected behavior code used in
window.tellParent
must be transpiled before. Solution: create a store actiontellParent
that accepts a function as parameter and stringifies it. Then callwindow.tellParent
. Working example:possible standalone function:
Screenshots –– no screenshots here ––
Further notes:
4.0.5+20200731.1309
Further ––– no further notes –––