Skip to content

Commit

Permalink
chore(release): bump version number to 10.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Hariom Sharma committed Oct 10, 2018
1 parent fc8f2d4 commit b5b0052
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<a name="10.17.0"></a>
# [10.17.0](https://github.com/harryy2510/ngx-img/compare/v10.16.0...v10.17.0) (2018-10-10)



<a name="10.16.0"></a>
# [10.16.0](https://github.com/harryy2510/ngx-img/compare/v10.15.3...v10.16.0) (2018-10-10)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ngx-img",
"description": "Angular Image Upload &amp; Crop",
"version": "10.16.0",
"version": "10.17.0",
"filename": "./src/ngx-img.js",
"homepage": "http://github.com/harryy2510/ngx-img",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion src/module/service/ngx-img.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {Injectable} from '@angular/core';
@Injectable()
export class NgxImgService {
compress(src: string, config: any, mime_type?: string) {
mime_type = mime_type ? mime_type : src.substring("data:image/".length, src.indexOf(";base64"));
mime_type = mime_type ? mime_type : src.substring('data:image/'.length, src.indexOf(';base64'));
return new Promise((resolve: any, reject: any) => {
const img = new Image();
img.src = src;
Expand Down

0 comments on commit b5b0052

Please sign in to comment.