FogCreek/solari-board — pull request #10 by efreed (2014-01-29 16:20:24+00:00)
Title: Improved order of operations for updateSolariBoard()

In testing, I noticed that changes to the source JSON data didn't show on the board when updateSolariBoard() ran. It has to run a second time for changes to make it to the board, delaying data by an extra minute.

This is because updateSolariBoard's logic was:
- Request new data.
- Update the board with the data saved from last time.
- Receive new data, and store to be used next time.

Now it gives the JSON data a chance to return and updates the board using the latest data.
Included are a couple edits to help things run as intended, like handling a custom number of rows, and adding sTime to the readme.

BTW, this Solari Board is really sweet!