Fix angular pipes
This commit is contained in:
parent
e3647ae226
commit
17c912d9b1
|
@ -1,6 +1,6 @@
|
||||||
import { Component, OnInit, ElementRef } from 'angular2/core';
|
import { Component, OnInit, ElementRef } from 'angular2/core';
|
||||||
import { RouteParams, CanDeactivate, ComponentInstruction } from 'angular2/router';
|
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
|
// TODO import it with systemjs
|
||||||
declare var WebTorrent: any;
|
declare var WebTorrent: any;
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
map: {
|
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')
|
System.import('/app/angular/bootstrap')
|
||||||
|
|
Loading…
Reference in New Issue