2016-03-07 07:48:46 -06:00
|
|
|
<html>
|
|
|
|
<head>
|
2016-03-14 07:50:19 -05:00
|
|
|
<title>PeerTube</title>
|
2016-03-07 07:48:46 -06:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2016-03-14 07:50:19 -05:00
|
|
|
<link rel="stylesheet" href="/app/stylesheets/index.css">
|
2016-03-07 07:48:46 -06:00
|
|
|
|
|
|
|
<!-- 1. Load libraries -->
|
|
|
|
<!-- IE required polyfills, in this exact order -->
|
2016-03-14 07:50:19 -05:00
|
|
|
<script src="/app/node_modules/es6-shim/es6-shim.min.js"></script>
|
|
|
|
<script src="/app/node_modules/systemjs/dist/system-polyfills.js"></script>
|
|
|
|
<script src="/app/node_modules/angular2/es6/dev/src/testing/shims_for_IE.js"></script>
|
|
|
|
|
|
|
|
<script src="/app/node_modules/angular2/bundles/angular2-polyfills.js"></script>
|
|
|
|
<script src="/app/node_modules/systemjs/dist/system.src.js"></script>
|
|
|
|
<script src="/app/node_modules/rxjs/bundles/Rx.js"></script>
|
|
|
|
<script src="/app/node_modules/angular2/bundles/angular2.dev.js"></script>
|
|
|
|
<script src="/app/node_modules/angular2/bundles/router.dev.js"></script>
|
|
|
|
<script src="/app/node_modules/angular2/bundles/http.dev.js"></script>
|
|
|
|
<script src="/app/node_modules/jquery/dist/jquery.js"></script>
|
|
|
|
<script src="/app/node_modules/jquery.ui.widget/jquery.ui.widget.js"></script>
|
|
|
|
<script src="/app/node_modules/blueimp-file-upload/js/jquery.fileupload.js"></script>
|
|
|
|
<script src="/app/node_modules/webtorrent/webtorrent.min.js"></script>
|
2016-03-07 07:48:46 -06:00
|
|
|
|
|
|
|
|
|
|
|
<!-- 2. Configure SystemJS -->
|
|
|
|
<script>
|
|
|
|
System.config({
|
|
|
|
packages: {
|
2016-03-14 07:50:19 -05:00
|
|
|
'/app': {
|
2016-03-08 01:27:13 -06:00
|
|
|
components: {
|
|
|
|
format: 'register',
|
|
|
|
defaultExtension: 'js'
|
|
|
|
}
|
2016-04-28 13:40:56 -05:00
|
|
|
}
|
|
|
|
},
|
|
|
|
map: {
|
|
|
|
'angular-pipes/src/math/bytes.pipe': '/app/node_modules/angular-pipes/src/math/bytes.pipe.js'
|
2016-03-07 07:48:46 -06:00
|
|
|
}
|
|
|
|
});
|
2016-03-14 07:50:19 -05:00
|
|
|
System.import('/app/angular/bootstrap')
|
2016-03-07 07:48:46 -06:00
|
|
|
.then(null, console.error.bind(console));
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<base href="/">
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<!-- 3. Display the application -->
|
|
|
|
<body>
|
|
|
|
<my-app>Loading...</my-app>
|
|
|
|
</body>
|
|
|
|
</html>
|