dynamic Docker host

This commit is contained in:
Jeffrey Morgan
2015-02-03 20:31:34 -05:00
parent 923468f482
commit f7aa4c32fc
4 changed files with 18 additions and 8 deletions

View File

@@ -20,13 +20,16 @@ var Setup = React.createClass({
componentWillMount: function () {
SetupStore.on(SetupStore.PROGRESS_EVENT, this.update);
SetupStore.on(SetupStore.STEP_EVENT, this.update);
SetupStore.on(SetupStore.ERROR_EVENT, this.update);
},
componentDidMount: function () {
this.update();
},
update: function () {
this.setState({
progress: SetupStore.stepProgress(),
step: SetupStore.stepName()
step: SetupStore.stepName(),
error: SetupStore.error()
});
},
renderDownloadingVirtualboxStep: function () {