diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-05-03 20:23:23 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-05-03 20:23:23 +0200 |
commit | 17c912d9b111eb4af3ff171a23dc866f76dc4fab (patch) | |
tree | f8ed22d3b3cb2c971e4555f7a019ee8f01e03bb7 | |
parent | e3647ae226d19ed1401d4c617d35a68de1c4657a (diff) | |
download | PeerTube-17c912d9b111eb4af3ff171a23dc866f76dc4fab.tar.gz PeerTube-17c912d9b111eb4af3ff171a23dc866f76dc4fab.tar.zst PeerTube-17c912d9b111eb4af3ff171a23dc866f76dc4fab.zip |
Fix angular pipes
-rw-r--r-- | client/angular/videos/components/watch/videos-watch.component.ts | 2 | ||||
-rw-r--r-- | client/index.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/client/angular/videos/components/watch/videos-watch.component.ts b/client/angular/videos/components/watch/videos-watch.component.ts index 52c31fe32..b996ad882 100644 --- a/client/angular/videos/components/watch/videos-watch.component.ts +++ b/client/angular/videos/components/watch/videos-watch.component.ts | |||
@@ -1,6 +1,6 @@ | |||
1 | import { Component, OnInit, ElementRef } from 'angular2/core'; | 1 | import { Component, OnInit, ElementRef } from 'angular2/core'; |
2 | import { RouteParams, CanDeactivate, ComponentInstruction } from 'angular2/router'; | 2 | import { RouteParams, CanDeactivate, ComponentInstruction } from 'angular2/router'; |
3 | import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe'; | 3 | import { BytesPipe } from 'angular-pipes/math'; |
4 | 4 | ||
5 | // TODO import it with systemjs | 5 | // TODO import it with systemjs |
6 | declare var WebTorrent: any; | 6 | declare var WebTorrent: any; |
diff --git a/client/index.html b/client/index.html index 6a2085ca6..49a448c2c 100644 --- a/client/index.html +++ b/client/index.html | |||
@@ -34,7 +34,7 @@ | |||
34 | } | 34 | } |
35 | }, | 35 | }, |
36 | map: { | 36 | map: { |
37 | 'angular-pipes/src/math/bytes.pipe': '/app/node_modules/angular-pipes/src/math/bytes.pipe.js' | 37 | 'angular-pipes/math': '/app/node_modules/angular-pipes/math.js' |
38 | } | 38 | } |
39 | }); | 39 | }); |
40 | System.import('/app/angular/bootstrap') | 40 | System.import('/app/angular/bootstrap') |