Skip to content
This repository has been archived by the owner on May 14, 2020. It is now read-only.

Commit

Permalink
fix: private access modificator #21
Browse files Browse the repository at this point in the history
  • Loading branch information
ribizli committed Mar 29, 2017
1 parent 0f8c019 commit d889d22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ng2-imageupload",
"version": "1.4.1",
"version": "1.4.2",
"description": "A component which resizes the selected input file image",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/image-upload.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export class ImageUploadDirective {

@Input() resizeOptions: ResizeOptions;
private _allowedExtensions: string[];

@Input()
get allowedExtensions() {
return this._allowedExtensions;
Expand All @@ -30,7 +30,7 @@ export class ImageUploadDirective {
}

@HostListener('change', ['$event'])
private readFiles(event) {
readFiles(event) {
for (let file of event.target.files as File[]) {
let result: ImageResult = {
file: file,
Expand Down

0 comments on commit d889d22

Please sign in to comment.