Speed up build (#1852)

* single build webpack

* fix demo shell test
This commit is contained in:
Eugenio Romano
2017-05-03 13:01:00 +02:00
committed by Eugenio Romano
parent 8959476941
commit 0b246b8211
362 changed files with 2684 additions and 13104 deletions

View File

@@ -41,7 +41,6 @@ export class ShareDataTableAdapter implements DataTableAdapter {
selectedRow: DataRow;
constructor(private documentListService: DocumentListService,
private basePath: string,
schema: DataColumn[] = []) {
this.rows = [];
this.columns = schema || [];
@@ -223,7 +222,7 @@ export class ShareDataTableAdapter implements DataTableAdapter {
}
getImagePath(id: string): any {
return `${this.basePath}assets/images/${id}`;
return require('../assets/images/' + id);
}
}