aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-05-03 20:23:23 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-05-03 20:23:23 +0200
commit17c912d9b111eb4af3ff171a23dc866f76dc4fab (patch)
treef8ed22d3b3cb2c971e4555f7a019ee8f01e03bb7
parente3647ae226d19ed1401d4c617d35a68de1c4657a (diff)
downloadPeerTube-17c912d9b111eb4af3ff171a23dc866f76dc4fab.tar.gz
PeerTube-17c912d9b111eb4af3ff171a23dc866f76dc4fab.tar.zst
PeerTube-17c912d9b111eb4af3ff171a23dc866f76dc4fab.zip
Fix angular pipes
-rw-r--r--client/angular/videos/components/watch/videos-watch.component.ts2
-rw-r--r--client/index.html2
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 @@
1import { Component, OnInit, ElementRef } from 'angular2/core'; 1import { Component, OnInit, ElementRef } from 'angular2/core';
2import { RouteParams, CanDeactivate, ComponentInstruction } from 'angular2/router'; 2import { RouteParams, CanDeactivate, ComponentInstruction } from 'angular2/router';
3import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe'; 3import { BytesPipe } from 'angular-pipes/math';
4 4
5// TODO import it with systemjs 5// TODO import it with systemjs
6declare var WebTorrent: any; 6declare 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')