Skip to content

Commit bac031f

Browse files
committed
#7123 adjusting all app-related twoWay bindings to the new syntax
1 parent f572192 commit bac031f

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

apps/covid/view/country/Gallery.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class CountryGallery extends Gallery {
2121
* @member {Object} bind
2222
*/
2323
bind: {
24-
country: {twoWay: true, value: data => data.country}
24+
country: {key: 'country', twoWay: true}
2525
},
2626
/**
2727
* @member {String|null} country_=null

apps/covid/view/country/Helix.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class CountryHelix extends Helix {
2121
* @member {Object} bind
2222
*/
2323
bind: {
24-
country: {twoWay: true, value: data => data.country}
24+
country: {key: 'country', twoWay: true}
2525
},
2626
/**
2727
* @member {String|null} country_=null

apps/covid/view/country/Table.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class Table extends Container {
2121
* @member {Object} bind
2222
*/
2323
bind: {
24-
country: {twoWay: true, value: data => data.country}
24+
country: {key: 'country', twoWay: true}
2525
},
2626
/**
2727
* @member {String|null} country_=null

apps/sharedcovid/view/country/Gallery.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class CountryGallery extends Gallery {
2121
* @member {Object} bind
2222
*/
2323
bind: {
24-
country: {twoWay: true, value: data => data.country}
24+
country: {key: 'country', twoWay: true}
2525
},
2626
/**
2727
* @member {String|null} country_=null

apps/sharedcovid/view/country/Helix.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class CountryHelix extends Helix {
2121
* @member {Object} bind
2222
*/
2323
bind: {
24-
country: {twoWay: true, value: data => data.country}
24+
country: {key: 'country', twoWay: true}
2525
},
2626
/**
2727
* @member {String|null} country_=null

apps/sharedcovid/view/country/Table.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class Table extends Container {
2121
* @member {Object} bind
2222
*/
2323
bind: {
24-
country: {twoWay: true, value: data => data.country}
24+
country: {key: 'country', twoWay: true}
2525
},
2626
/**
2727
* @member {String|null} country_=null

0 commit comments

Comments
 (0)