donejs / bitballs

A basketball tourney application.
https://donejs.com/bitballs.html
MIT License
11 stars 17 forks source link

Make `pagePromise` one way and change it so ../ aren't necessary on bindings #249

Open justinbmeyer opened 8 years ago

justinbmeyer commented 8 years ago

I think pagePromise should be from the children up to the appViewModel.

Also, we can probably use {{#with ../}} so .. isn't needed in all the bindings:

attributes: "{(session)}='../session'",
justinbmeyer commented 8 years ago

cc @jandjorgensen Please advise on if you think pagePromise can be one way:

{^game-promise}='./pagePromise'
ramblinjan commented 8 years ago

I think it could. I was trying to remember if I tried doing one-way, but I think I had only tried it when I wasn't using ../

frank-dspeed commented 7 years ago

I think this can be closed now right?