7 ms·
Would you consider open sourcing this eventually? I'm just curious about how you did some things like: The tweet/like buttons. Did you go and make them on the
by hayksaakian 14y ago
Would you consider open sourcing this eventually?
I'm just curious about how you did some things like:
The tweet/like buttons. Did you go and make them on their respective sites, or is there a gem that let's you drop in a URL?
The sliding selects(?) used to pick a name are a cool widget. Not obvious to me how you'd go about doing something like that.
- grinnick 14y agoI 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.