]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix angular pipes
authorChocobozzz <florian.bigard@gmail.com>
Tue, 3 May 2016 18:23:23 +0000 (20:23 +0200)
committerChocobozzz <florian.bigard@gmail.com>
Tue, 3 May 2016 18:23:23 +0000 (20:23 +0200)
client/angular/videos/components/watch/videos-watch.component.ts
client/index.html

index 52c31fe325fc90a568fae02bb62aa063430d58af..b996ad882aed2622d1e2e397428b5060c9ce96f4 100644 (file)
@@ -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;
index 6a2085ca680101a1d1eba3c2c8d9dfb95388ab1f..49a448c2c352c97ae455a271b6222b59e9169724 100644 (file)
@@ -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')