button#increase-money - when count in counter.js increment, it also increment dollar and yen in money.js
span#my-money - whether count in counter.js increment or dollar in dollar.js burned (via burnDollar), it will also update either count in counter.js or dollar in dollar.js, but not yen when dollar is burned (yen still updated when count increment due to binding in button#increase-money)
Behaviour:
button#increase-money
- when count in counter.js increment, it also increment dollar and yen in money.jsspan#my-money
- whether count in counter.js increment or dollar in dollar.js burned (viaburnDollar
), it will also update either count in counter.js or dollar in dollar.js, but not yen when dollar is burned (yen still updated when count increment due to binding inbutton#increase-money
)