File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
angular/app/pages/landing Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
1
export class LandingController {
2
2
constructor ( ) {
3
- var vm = this ;
3
+ 'ngInject' ;
4
4
5
- vm . laravel_description = 'Response macros integrated with your Angular app' ;
6
- vm . angular_description = 'Query your API without worrying about validations' ;
5
+ this . laravel_description = 'Response macros integrated with your Angular app' ;
6
+ this . angular_description = 'Query your API without worrying about validations' ;
7
7
8
8
/*
9
9
This is a terrible temporary hack,
10
10
to fix layout issues with flex on iOS (chrome & safari)
11
11
Make sure to remove this when you modify this demo
12
12
*/
13
- vm . iOS = / i P a d | i P h o n e | i P o d / . test ( navigator . userAgent ) ;
13
+ this . iOS = / i P a d | i P h o n e | i P o d / . test ( navigator . userAgent ) ;
14
14
}
15
15
}
Original file line number Diff line number Diff line change 145
145
function _classCallCheck ( instance , Constructor ) { if ( ! ( instance instanceof Constructor ) ) { throw new TypeError ( "Cannot call a class as a function" ) ; } }
146
146
147
147
var LandingController = exports . LandingController = function LandingController ( ) {
148
- _classCallCheck ( this , LandingController ) ;
148
+ 'ngInject' ;
149
149
150
- var vm = this ;
150
+ _classCallCheck ( this , LandingController ) ;
151
151
152
- vm . laravel_description = 'Response macros integrated with your Angular app' ;
153
- vm . angular_description = 'Query your API without worrying about validations' ;
152
+ this . laravel_description = 'Response macros integrated with your Angular app' ;
153
+ this . angular_description = 'Query your API without worrying about validations' ;
154
154
155
155
/*
156
156
This is a terrible temporary hack,
157
157
to fix layout issues with flex on iOS (chrome & safari)
158
158
Make sure to remove this when you modify this demo
159
159
*/
160
- vm . iOS = / i P a d | i P h o n e | i P o d / . test ( navigator . userAgent ) ;
160
+ this . iOS = / i P a d | i P h o n e | i P o d / . test ( navigator . userAgent ) ;
161
161
} ;
162
162
163
163
/***/ } ,
You can’t perform that action at this time.
0 commit comments