diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-03-08 08:27:13 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-03-08 08:37:15 +0100 |
commit | bd324a669218f9ed302f7f54b36ee535d25c9733 (patch) | |
tree | aebade345a240333c6f7e8e162881548c6c56dec /client/index.html | |
parent | 3d446a26ada901331faaaf3be9083dfe6773b50a (diff) | |
download | PeerTube-bd324a669218f9ed302f7f54b36ee535d25c9733.tar.gz PeerTube-bd324a669218f9ed302f7f54b36ee535d25c9733.tar.zst PeerTube-bd324a669218f9ed302f7f54b36ee535d25c9733.zip |
Prepare client app
Diffstat (limited to 'client/index.html')
-rw-r--r-- | client/index.html | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/client/index.html b/client/index.html index 7aa408181..f971b9fdb 100644 --- a/client/index.html +++ b/client/index.html | |||
@@ -6,27 +6,29 @@ | |||
6 | 6 | ||
7 | <!-- 1. Load libraries --> | 7 | <!-- 1. Load libraries --> |
8 | <!-- IE required polyfills, in this exact order --> | 8 | <!-- IE required polyfills, in this exact order --> |
9 | <script src="node_modules/es6-shim/es6-shim.min.js"></script> | 9 | <script src="app/node_modules/es6-shim/es6-shim.min.js"></script> |
10 | <script src="node_modules/systemjs/dist/system-polyfills.js"></script> | 10 | <script src="app/node_modules/systemjs/dist/system-polyfills.js"></script> |
11 | <script src="node_modules/angular2/es6/dev/src/testing/shims_for_IE.js"></script> | 11 | <script src="app/node_modules/angular2/es6/dev/src/testing/shims_for_IE.js"></script> |
12 | 12 | ||
13 | <script src="node_modules/angular2/bundles/angular2-polyfills.js"></script> | 13 | <script src="app/node_modules/angular2/bundles/angular2-polyfills.js"></script> |
14 | <script src="node_modules/systemjs/dist/system.src.js"></script> | 14 | <script src="app/node_modules/systemjs/dist/system.src.js"></script> |
15 | <script src="node_modules/rxjs/bundles/Rx.js"></script> | 15 | <script src="app/node_modules/rxjs/bundles/Rx.js"></script> |
16 | <script src="node_modules/angular2/bundles/angular2.dev.js"></script> | 16 | <script src="app/node_modules/angular2/bundles/angular2.dev.js"></script> |
17 | <script src="node_modules/angular2/bundles/router.dev.js"></script> | 17 | <script src="app/node_modules/angular2/bundles/router.dev.js"></script> |
18 | 18 | ||
19 | <!-- 2. Configure SystemJS --> | 19 | <!-- 2. Configure SystemJS --> |
20 | <script> | 20 | <script> |
21 | System.config({ | 21 | System.config({ |
22 | packages: { | 22 | packages: { |
23 | app: { | 23 | app: { |
24 | format: 'register', | 24 | components: { |
25 | defaultExtension: 'js' | 25 | format: 'register', |
26 | defaultExtension: 'js' | ||
27 | } | ||
26 | } | 28 | } |
27 | } | 29 | } |
28 | }); | 30 | }); |
29 | System.import('app/main') | 31 | System.import('app/components/bootstrap') |
30 | .then(null, console.error.bind(console)); | 32 | .then(null, console.error.bind(console)); |
31 | </script> | 33 | </script> |
32 | 34 | ||