This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://developers.google.com/mobile/articles/fast_buttons?hl=de | |
//straight forwards solution to attach both listeners | |
$(element).bind("touchstart click",function(e){ | |
e.preventDefault()// touchstatr will prevent click but also scroll. Read Link for a better solution | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Gemfile | |
source :rubygems | |
gem 'rack' | |
gem 'sinatra' | |
#config.ru | |
require './app' | |
run Sinatra::Application | |
#app.rb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://mailtrap.io |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install git-subtree | |
git subtree push --prefox web staging master | |
#where "web" is subfolder of git project and contains the rails app | |
#another way would be using config.ru without subtree push but then you would always push your whole project and not only "web" or whatever folder |
NewerOlder