aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/index.html
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-05-13 14:18:37 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-05-13 14:23:11 +0200
commit230809efa1e7e81ce60cd65f8b398f01a27d525b (patch)
treeddbd0cee82bd2d35d01a1307a2905a467f51ca6b /client/index.html
parentbc503c2a62dcf9aed6b8d90b68f0f27a7755ac01 (diff)
downloadPeerTube-230809efa1e7e81ce60cd65f8b398f01a27d525b.tar.gz
PeerTube-230809efa1e7e81ce60cd65f8b398f01a27d525b.tar.zst
PeerTube-230809efa1e7e81ce60cd65f8b398f01a27d525b.zip
Update to Angular RC 1
Diffstat (limited to 'client/index.html')
-rw-r--r--client/index.html37
1 files changed, 12 insertions, 25 deletions
diff --git a/client/index.html b/client/index.html
index 49a448c2c..c9bc7adb2 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1,47 +1,34 @@
1<html> 1<html>
2 <head> 2 <head>
3 <base href="/">
4
3 <title>PeerTube</title> 5 <title>PeerTube</title>
6
7 <meta charset="UTF-8">
4 <meta name="viewport" content="width=device-width, initial-scale=1"> 8 <meta name="viewport" content="width=device-width, initial-scale=1">
9
5 <link rel="stylesheet" href="/app/stylesheets/index.css"> 10 <link rel="stylesheet" href="/app/stylesheets/index.css">
6 11
7 <!-- 1. Load libraries --> 12 <!-- 1. Load libraries -->
8 <!-- IE required polyfills, in this exact order --> 13 <!-- IE required polyfills, in this exact order -->
9 <script src="/app/node_modules/es6-shim/es6-shim.min.js"></script> 14 <script src="/app/node_modules/es6-shim/es6-shim.min.js"></script>
10 <script src="/app/node_modules/systemjs/dist/system-polyfills.js"></script> 15 <script src="/app/node_modules/zone.js/dist/zone.js"></script>
11 <script src="/app/node_modules/angular2/es6/dev/src/testing/shims_for_IE.js"></script> 16 <script src="/app/node_modules/reflect-metadata/Reflect.js"></script>
12
13 <script src="/app/node_modules/angular2/bundles/angular2-polyfills.js"></script>
14 <script src="/app/node_modules/systemjs/dist/system.src.js"></script> 17 <script src="/app/node_modules/systemjs/dist/system.src.js"></script>
15 <script src="/app/node_modules/rxjs/bundles/Rx.js"></script> 18
16 <script src="/app/node_modules/angular2/bundles/angular2.dev.js"></script>
17 <script src="/app/node_modules/angular2/bundles/router.dev.js"></script>
18 <script src="/app/node_modules/angular2/bundles/http.dev.js"></script>
19 <script src="/app/node_modules/jquery/dist/jquery.js"></script> 19 <script src="/app/node_modules/jquery/dist/jquery.js"></script>
20 <script src="/app/node_modules/jquery.ui.widget/jquery.ui.widget.js"></script> 20 <script src="/app/node_modules/jquery.ui.widget/jquery.ui.widget.js"></script>
21 <script src="/app/node_modules/blueimp-file-upload/js/jquery.fileupload.js"></script> 21 <script src="/app/node_modules/blueimp-file-upload/js/jquery.fileupload.js"></script>
22
22 <script src="/app/node_modules/webtorrent/webtorrent.min.js"></script> 23 <script src="/app/node_modules/webtorrent/webtorrent.min.js"></script>
23 24
25 <!-- <script src="/app/angular/angular-rxjs.bundle.js"></script> -->
24 26
25 <!-- 2. Configure SystemJS --> 27 <!-- 2. Configure SystemJS -->
28 <script src="/app/systemjs.config.js"></script>
26 <script> 29 <script>
27 System.config({ 30 System.import('app').catch(function(err){ console.error(err); });
28 packages: {
29 '/app': {
30 components: {
31 format: 'register',
32 defaultExtension: 'js'
33 }
34 }
35 },
36 map: {
37 'angular-pipes/math': '/app/node_modules/angular-pipes/math.js'
38 }
39 });
40 System.import('/app/angular/bootstrap')
41 .then(null, console.error.bind(console));
42 </script> 31 </script>
43
44 <base href="/">
45 </head> 32 </head>
46 33
47 <!-- 3. Display the application --> 34 <!-- 3. Display the application -->