Added redis as a dependency
- redis will be our data store for persistence (#66)
Got a basic implementation of persistence working (#66)
- When the Grid object is instntiated, it checks to see if we have a previous state
- If we do, it goes through and constructs a request to Redis to get those values and puts them in the right places in the grid
- Otherwise, it sets a flag so that the next time the grid is instantiated, it will know to load the state from Redis
- Currently, storing individual clicks to the grid is not async (which will be addressed in the next couple of commits)
Fixed issue where clearing a cell wouldn't get saved on Redis (#66)
Now processes click using a waterfall control call (#66)
- Refactored old functions to execute in series using the waterfall function in
the async library
- Read more about waterfall here: https://github.com/caolan/async#waterfall
Configures RedisToGo (#66)
Removed updateGridMatrix unit test since method doesn't exist anymore (#66)
Fixed RedisToGo config issue (#66)
Fixed some more trivial RedisToGo config issues (#66)
changed waterfall to series
Merge branch 'persistence' of github.com:ridhoq/pro-grid into merge90
Builds for heroku