File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,9 @@ function distributeZones(locker) {
2323 resolve ( "zones-loaded" )
2424 } ) ;
2525
26- // Set up the communication bridge
26+ // Add the communication bridge and vip method to the zones API
2727 locker . getYozonsLocker ( "zones" ) . changes = zones . changes ;
28+ locker . getYozonsLocker ( "zones" ) . getValidInsertionPoints = zones . getValidInsertionPoints ;
2829 } ) ;
2930}
3031
Original file line number Diff line number Diff line change @@ -217,10 +217,11 @@ export function getValidInsertionPoints() {
217217
218218export function distribute ( tick = 4 ) {
219219 const vips = getValidInsertionPoints ( ) ;
220+ const cadence = tick ;
220221
221222 map . forEach ( zone => {
222223 zone . vip = vips [ tick ] ;
223- tick += tick ;
224+ tick += cadence ;
224225 } ) ;
225226}
226227
You can’t perform that action at this time.
0 commit comments