Tidying up

This commit is contained in:
Kegan Dougal 2015-07-16 11:54:53 +01:00
parent c056bdf104
commit 5f3721f471
3 changed files with 1 additions and 20 deletions

View File

@ -37,22 +37,5 @@ module.exports = React.createClass({
return (
<VideoView ref="video"/>
);
/*
if (this.state && this.state.call) {
if (this.state.call.type === "video") {
return (
<VideoView ref="video"/>
);
}
else if (this.state.call.type === "voice") {
// <WaveformView /> in the future.
return (
<div></div>
);
}
}
return (
<div></div>
); */
}
});

View File

@ -18,7 +18,7 @@ limitations under the License.
/*
* State vars:
* this.state.callState = OUTBOUND|INBOUND|IN_CALL|NO_CALL
* this.state.call_state = the UI state of the call (see CallHandler)
*/
var dis = require("../../dispatcher");

View File

@ -16,8 +16,6 @@ limitations under the License.
'use strict';
var dis = require("../../../dispatcher");
module.exports = {
};