Color Chooser Illustrates ViewModel Hierarchy Questions

  1. Instead of using globals, can you have them passed down from parent component to child component?

  2. Yeah, that seems odd. Btw, you can link to line numbers in github. For example: https://github.com/CODE-REaD/CanJS-ColorChooser/blob/master/index.html#L332 . This will make it far easier to know which code you are talking about. Why are you relying on indexes? I’ve never had to do this in CanJS.

  3. You probably need to pre-load the sound source. I don’t know how, but I bet there’s a good way.