]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/index.html
Update to Angular RC 1
[github/Chocobozzz/PeerTube.git] / client / index.html
index 15ccedb7486c0f52e7bb7a24e642e0b8e68e3221..c9bc7adb2fa9c488daf2f6617addb558c7d96d36 100644 (file)
@@ -1,36 +1,34 @@
 <html>
   <head>
-    <title>Angular 2 QuickStart</title>
+    <base href="/">
+
+    <title>PeerTube</title>
+
+    <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1">
-    <link rel="stylesheet" href="styles.css">
+
+    <link rel="stylesheet" href="/app/stylesheets/index.css">
 
     <!-- 1. Load libraries -->
     <!-- IE required polyfills, in this exact order -->
-    <script src="node_modules/es6-shim/es6-shim.min.js"></script>
-    <script src="node_modules/systemjs/dist/system-polyfills.js"></script>
-    <script src="node_modules/angular2/es6/dev/src/testing/shims_for_IE.js"></script>
+    <script src="/app/node_modules/es6-shim/es6-shim.min.js"></script>
+    <script src="/app/node_modules/zone.js/dist/zone.js"></script>
+    <script src="/app/node_modules/reflect-metadata/Reflect.js"></script>
+    <script src="/app/node_modules/systemjs/dist/system.src.js"></script>
 
-    <script src="node_modules/angular2/bundles/angular2-polyfills.js"></script>
-    <script src="node_modules/systemjs/dist/system.src.js"></script>
-    <script src="node_modules/rxjs/bundles/Rx.js"></script>
-    <script src="node_modules/angular2/bundles/angular2.dev.js"></script>
-    <script src="node_modules/angular2/bundles/router.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>
+
+    <!-- <script src="/app/angular/angular-rxjs.bundle.js"></script> -->
 
     <!-- 2. Configure SystemJS -->
+    <script src="/app/systemjs.config.js"></script>
     <script>
-      System.config({
-        packages: {
-          app: {
-            format: 'register',
-            defaultExtension: 'js'
-          }
-        }
-      });
-      System.import('app/main')
-            .then(null, console.error.bind(console));
+      System.import('app').catch(function(err){ console.error(err); });
     </script>
-
-    <base href="/">
   </head>
 
   <!-- 3. Display the application -->