add comment about adding srddoc polyfill
This commit is contained in:
parent
7a164d9cdd
commit
dcc39afb45
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ class PreviewFrame extends React.Component {
|
|||
renderSketch() {
|
||||
const doc = ReactDOM.findDOMNode(this);
|
||||
if (this.props.isPlaying) {
|
||||
// TODO add polyfill for this
|
||||
doc.srcdoc = this.injectLocalFiles();
|
||||
} else {
|
||||
doc.srcdoc = '';
|
||||
|
|
Loading…
Reference in a new issue