File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ const { computed } = Ember;
8
8
export default Ember . Controller . extend ( {
9
9
isDownloading : false ,
10
10
11
- downloadsContext : Ember . computed ( 'requestedVersion' , 'model' , 'crate' , function ( ) {
11
+ downloadsContext : computed ( 'requestedVersion' , 'model' , 'crate' , function ( ) {
12
12
return this . get ( 'requestedVersion' ) ? this . get ( 'model' ) : this . get ( 'crate' ) ;
13
13
} ) ,
14
14
downloads : computed . alias ( 'downloadsContext.version_downloads' ) ,
15
- extraDownloads : Ember . computed ( 'downloads.content.meta.extra_downloads' , function ( ) {
15
+ extraDownloads : computed ( 'downloads.content.meta.extra_downloads' , function ( ) {
16
16
return this . get ( 'downloads.content.meta.extra_downloads' ) || [ ] ;
17
17
} ) ,
18
18
@@ -110,7 +110,7 @@ export default Ember.Controller.extend({
110
110
} ,
111
111
} ,
112
112
113
- downloadData : Ember . computed ( 'downloads' , 'extraDownloads' , 'requestedVersion' , function ( ) {
113
+ downloadData : computed ( 'downloads' , 'extraDownloads' , 'requestedVersion' , function ( ) {
114
114
let { downloads, extraDownloads : extra } = this . getProperties ( 'downloads' , 'extraDownloads' ) ;
115
115
if ( ! downloads || ! extra ) {
116
116
return ;
You can’t perform that action at this time.
0 commit comments