mirror of https://github.com/Chocobozzz/PeerTube
Fix angular pipes
parent
e3647ae226
commit
17c912d9b1
|
@ -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;
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue