From 17c912d9b111eb4af3ff171a23dc866f76dc4fab Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 3 May 2016 20:23:23 +0200 Subject: Fix angular pipes --- client/angular/videos/components/watch/videos-watch.component.ts | 2 +- 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 @@ import { Component, OnInit, ElementRef } from 'angular2/core'; import { RouteParams, CanDeactivate, ComponentInstruction } from 'angular2/router'; -import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe'; +import { BytesPipe } from 'angular-pipes/math'; // TODO import it with systemjs 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 @@ } }, map: { - 'angular-pipes/src/math/bytes.pipe': '/app/node_modules/angular-pipes/src/math/bytes.pipe.js' + 'angular-pipes/math': '/app/node_modules/angular-pipes/math.js' } }); System.import('/app/angular/bootstrap') -- cgit v1.2.3