Skip to content

Commit

Permalink
Refactor(#23) Remove useless console.log.
Browse files Browse the repository at this point in the history
  • Loading branch information
iamkinetic committed May 15, 2018
1 parent a87f65b commit b843657
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ export class BuildingAnomalyDetailPicturesComponent implements ControlValueAcces

set value(value: string) {
if (value != this.idBuildingAnomaly && value != '') {
console.log("accessor valeur", value);
this.idBuildingAnomaly = value;
this.loadPictures();
}
Expand Down Expand Up @@ -82,7 +81,6 @@ export class BuildingAnomalyDetailPicturesComponent implements ControlValueAcces

writeValue(value: string) {
if (value != this.idBuildingAnomaly && value != '') {
console.log("accessor valeur", value);
this.idBuildingAnomaly = value;
this.loadPictures();
}
Expand Down Expand Up @@ -155,7 +153,6 @@ export class BuildingAnomalyDetailPicturesComponent implements ControlValueAcces
}

private onFileLoaded(response): void {
console.log(response);
let imageUri: string = response.target.result;
if (imageUri.indexOf(';base64,') > 0)
imageUri = imageUri.substr(imageUri.indexOf(';base64,') + 8);
Expand Down
2 changes: 0 additions & 2 deletions src/components/search-box/search-box.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ export class SearchBoxComponent implements ControlValueAccessor, OnDestroy{
}

set value(value: string) {
console.log('yooo!');

if (this.innerValue !== value) {
this.innerValue = value;
this.changed.forEach(f => f(value));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ export class InspectionControllerProvider {

async savePicture() {
let idPicture = await this.pictureRepo.savePicture(this.picture);
console.log('saved', idPicture);
if (this.inspectionDetail.idPictureSitePlan != idPicture)
this.savePlanIdPicture(idPicture as string);
}
Expand Down

0 comments on commit b843657

Please sign in to comment.