3 ms·
couple of tips: jquery's $() is aliased to j() in ruby. Try: j('body').css background: 'pink' window is alias to w(). E.g.: w.alert('hello from ruby') puts
by txrx 13y ago
couple of tips:
jquery's $() is aliased to j() in ruby. Try:
j('body').css background: 'pink'
window is alias to w(). E.g.:
w.alert('hello from ruby')
puts w.prompt('saywhat?')