Skip to content

Commit 17a6c7a

Browse files
avatsaevneroniaky
authored andcommitted
ng4 aot compatibility, removed 'public', references #194
1 parent ff3ac60 commit 17a6c7a

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

src/a2t-ui/a2t-reset-password/a2t-reset-password.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import { RESET_PASSWORD_FORM } from '../';
2929
})
3030
export class A2tResetPasswordComponent {
3131

32-
private _emailSend: boolean = false;
32+
_emailSend: boolean = false;
3333

3434
constructor(
3535
private _formService: A2tFormService,

src/a2t-ui/a2t-shared/a2t-form/a2t-form-field/a2t-form-field.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export class A2tFormFieldComponent implements OnInit {
8787
@Input() question: BaseField;
8888
@Input() form: FormGroup;
8989

90-
private _control: AbstractControl;
90+
_control: AbstractControl;
9191

9292
ngOnInit() {
9393
this._control = this.form.controls[this.question.key];

src/a2t-ui/a2t-shared/a2t-form/a2t-form.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,5 @@ import { A2tFormFieldComponent } from './a2t-form-field/a2t-form-field.component
6666
})
6767

6868
export class A2tFormComponent {
69-
constructor(private _formService: A2tFormService) { }
69+
constructor(public _formService: A2tFormService) { }
7070
}

src/a2t-ui/a2t-sign-in/a2t-sign-in.component.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ import { SIGN_IN_FORM } from '../';
1818
})
1919
export class A2tSignInComponent {
2020

21-
private _errors: string[];
21+
_errors: string[];
2222

2323
constructor(
24-
private _formService: A2tFormService,
25-
private _sessionService: Angular2TokenService,
26-
private _router: Router
24+
public _formService: A2tFormService,
25+
public _sessionService: Angular2TokenService,
26+
public _router: Router
2727
) {
2828
this._formService.initForm(SIGN_IN_FORM);
2929
this._formService.submit$.subscribe(

src/a2t-ui/a2t-sign-up/a2t-sign-up.component.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ import { SIGN_UP_FORM } from '../';
1818
})
1919
export class A2tSignUpComponent {
2020

21-
private _errors: string[];
21+
_errors: string[];
2222

2323
constructor(
24-
private _formService: A2tFormService,
25-
private _sessionService: Angular2TokenService,
26-
private _router: Router
24+
public _formService: A2tFormService,
25+
public _sessionService: Angular2TokenService,
26+
public _router: Router
2727
) {
2828
this._formService.initForm(SIGN_UP_FORM);
2929
this._formService.submit$.subscribe(

src/a2t-ui/a2t-update-password/a2t-update-password.component.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ import { UPDATE_PASSWORD_FORM } from '../';
1717
})
1818
export class A2tUpdatePasswordComponent {
1919

20-
private _errors: string[];
20+
_errors: string[];
2121

2222
constructor(
23-
private _formService: A2tFormService,
24-
private _sessionService: Angular2TokenService,
25-
private _router: Router
23+
public _formService: A2tFormService,
24+
public _sessionService: Angular2TokenService,
25+
public _router: Router
2626
) {
2727
this._formService.initForm(UPDATE_PASSWORD_FORM);
2828
this._formService.submit$.subscribe(

0 commit comments

Comments
 (0)