hr0nix / BlueSkies

A simple canopy landing simulator
http://hr0nix.github.io/BlueSkies/
MIT License
13 stars 5 forks source link

Refactoring to knockout.js #72

Closed ilyapoz closed 10 years ago

ilyapoz commented 10 years ago

Refactor, review, pull.

ilyapoz commented 10 years ago

@hr0nix this is the js machine to create pain-free interfaces it seems. You can check out the code for wind and landing direction updates. It's quite straightforward.

ilyapoz commented 10 years ago

Especially note the code deletions in blueskies.js. More to come.

hr0nix commented 10 years ago

Looks way better, I like it.

ilyapoz commented 10 years ago

This is a bit more cumbersome than I thought (the refactoring itself, not knockout.js, it's awesome). TODO:

  1. jQuery UI buttonset bindings.
  2. map element bindings.
ilyapoz commented 10 years ago

Ok, the only things left are buttonset bindings, google analytics bindings and testing.

ilyapoz commented 10 years ago

Finally, buttonset binding is working. @hr0nix, please test it a little bit, I must have missed something. Basically, it should work as before (a week of work!)

hr0nix commented 10 years ago

Works perfectly well for me. Great job!

ilyapoz commented 10 years ago

Ok, here we go.