add comment about adding srddoc polyfill

This commit is contained in:
catarak 2016-07-11 15:27:00 -04:00
parent 7a164d9cdd
commit dcc39afb45

View file

@ -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 = '';