Disable test postmessag

This commit is contained in:
Richard Lewis 2017-06-06 15:57:40 +01:00
parent e9f110a4c5
commit e8353edb06
2 changed files with 11 additions and 11 deletions

View file

@ -35,12 +35,12 @@ export default React.createClass({
componentDidMount: function() {
console.log("App component %s mounted", this.props.id);
setInterval(() => {
const msg = "Message from riot";
const domain = 'http://localhost:8000';
this.refs.appFrame.contentWindow.postMessage(msg, domain);
console.log("Sending message");
}, 3000);
// setInterval(() => {
// const msg = "Message from riot";
// const domain = 'http://localhost:8000';
// this.refs.appFrame.contentWindow.postMessage(msg, domain);
// console.log("Sending message");
// }, 3000);
},
_onEditClick: function() {