8 ms·
I can't really open source the main Rails app "as is" because it would present a security issue for me. The Tweet/Like buttons just come from the Twitter and F
by grinnick 14y ago
I can't really open source the main Rails app "as is" because it would present a security issue for me.
The Tweet/Like buttons just come from the Twitter and Facebook developer sites (for example: https://dev.twitter.com/docs/tweet-button https://dev.twitter.com/docs/tweet-button). You just generate the code there and paste it into your site. Although, if you want a gem for generating them you could try this: https://github.com/dtuite/flakey https://github.com/dtuite/flakey
The sliding inputs are custom built with Backbone.js and they probably wouldn't be too easy to replicate unless you're handy with JS and Backbone. However, I put most of the code into a gist for you so you can check it out if you like: https://gist.github.com/4663167 https://gist.github.com/4663167
Dependencies for code that are
1. Backbone for structure
2. Backbone Marionette for general code organization
3. jStorage for accessing localStorage.