Permalink
Browse files

Step 13.10: Create stub method for upload method

  • Loading branch information...
dotansimha authored and darkbasic committed Jan 24, 2017
1 parent 110e848 commit c3485105627a535bf340af886f538da73c9f0d98
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 c348510

Please sign in to comment.