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" />
|
2016-03-28 11:03:46 +02:00
|
|
|
<link rel="stylesheet" href="fonts/fontello/css/arrows.css" />
|
2015-08-20 18:41:51 +02:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
2015-08-21 14:47:06 +02:00
|
|
|
<!-- Application root element -->
|
2015-08-26 14:08:12 +02:00
|
|
|
<div id="pitaya"></div>
|
2015-09-11 16:25:45 +02:00
|
|
|
|
2015-08-21 14:47:06 +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;
|
|
|
|
|
2015-10-09 14:22:23 +02:00
|
|
|
var isDev = process.env.NODE_ENV === 'development';
|
2015-08-27 18:24:29 +02:00
|
|
|
|
2015-10-09 14:22:23 +02:00
|
|
|
if(isDev) {
|
|
|
|
// Auto transform JSX
|
|
|
|
require('node-jsx').install({extension: '.js'});
|
|
|
|
}
|
2015-08-27 18:24:29 +02:00
|
|
|
|
2015-10-16 15:12:49 +02:00
|
|
|
// Launch app
|
|
|
|
require('./'+(isDev ? 'src' : 'dist')+'/app.js');
|
|
|
|
|
2015-08-20 18:41:51 +02:00
|
|
|
</script>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|