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() {
|
renderSketch() {
|
||||||
const doc = ReactDOM.findDOMNode(this);
|
const doc = ReactDOM.findDOMNode(this);
|
||||||
if (this.props.isPlaying) {
|
if (this.props.isPlaying) {
|
||||||
|
// TODO add polyfill for this
|
||||||
doc.srcdoc = this.injectLocalFiles();
|
doc.srcdoc = this.injectLocalFiles();
|
||||||
} else {
|
} else {
|
||||||
doc.srcdoc = '';
|
doc.srcdoc = '';
|
||||||
|
|
Loading…
Reference in a new issue