Fix angular pipes

This commit is contained in:
Chocobozzz 2016-05-03 20:23:23 +02:00
parent e3647ae226
commit 17c912d9b1
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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')