Permalink
Browse files

Step 13.11: Create stub method for upload method

  • Loading branch information...
dotansimha authored and darkbasic committed Jan 24, 2017
1 parent 164a483 commit 4d496fd4c30be8f787078a6ee9f5e8a49fc57990
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/services/picture.ts
View
@@ -28,6 +28,10 @@ export class PictureService {
});
}
upload(blob: File): Promise<any> {
return Promise.resolve();
}
convertURLtoBlob(url: string, options = {}): Promise<File> {
return new Promise((resolve, reject) => {
const image = document.createElement('img');

0 comments on commit 4d496fd

Please sign in to comment.