ModularWidgets: Add a quick VR demo widget
This commit is contained in:
parent
d67e7289e8
commit
880e7149f3
2 changed files with 15 additions and 0 deletions
|
@ -65,6 +65,9 @@ module.exports = React.createClass({
|
|||
app.name += ' - ' + app.data.confId;
|
||||
break;
|
||||
}
|
||||
case 'vrdemo':
|
||||
app.name = 'Matrix VR Demo';
|
||||
break;
|
||||
}
|
||||
|
||||
return app;
|
||||
|
@ -149,6 +152,12 @@ module.exports = React.createClass({
|
|||
},
|
||||
};
|
||||
break;
|
||||
case 'vrdemo':
|
||||
appsStateEvent.vrDemo = {
|
||||
type: type,
|
||||
url: 'http://localhost:8000/vrdemo.html',
|
||||
};
|
||||
break;
|
||||
case 'custom':
|
||||
appsStateEvent.custom = {
|
||||
type: type,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue