pitaya-launcher/index.html

33 lines
799 B
HTML
Raw Normal View History

2015-08-20 18:41:51 +02:00
<html>
<head>
2015-08-26 14:08:12 +02:00
<title>Lanceur - Pitaya</title>
2015-08-20 18:41:51 +02:00
<link rel="stylesheet" href="css/style.css" />
2015-09-11 16:25:45 +02:00
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css">
2015-08-20 18:41:51 +02:00
</head>
<body>
<!-- Application root element -->
2015-08-26 14:08:12 +02:00
<div id="pitaya"></div>
2015-09-11 16:25:45 +02:00
<!-- Scripts -->
2015-08-20 18:41:51 +02:00
<script type="text/javascript">
2015-08-27 18:24:29 +02:00
// React context detection workaround
global.document = global.window.document;
global.navigator = global.window.navigator;
var isDev = process.env.NODE_ENV === 'development';
2015-08-27 18:24:29 +02:00
if(isDev) {
// Auto transform JSX
require('node-jsx').install({extension: '.js'});
// Launch application
require('./js/app.js');
} else {
require('./js-compiled/app.js');
}
2015-08-27 18:24:29 +02:00
2015-08-20 18:41:51 +02:00
</script>
</body>
</html>