WIP: Moving javascript to js files, making an api class#8
Conversation
smith11235
commented
May 10, 2015
- note: this pr will be much easier to understand when first pr is merged
- moving javascript from games#show.html to a js file and making it an object/api for standard usage
- removing card model in favor of integer system
- simpler support of logic in ruby & javascript
-
- when passing data to frontend, only need to pass 'card'
|
this is close to working. For some reason it is not finding the canvas elements. Or maybe its something to do with the weird inclusion of cards.js.erb. |
|
You should probably stick to one pull request at a time because this has all your changes from the other one. It makes it tough to see what this request specifically changes vs the other one. |
|
well, i'd like to merge the first one. but yes. i was going crazy in the night refactoring tons of shit in this On Mon, May 11, 2015 at 10:12 AM, Greg Wilbur notifications@github.com
|