How can I write these JS calls in Coffeescript?
iPhone Scale Bug Fix
MBP.scaleFix();
Hide URL Bar
MBP.hideUrlBar();
Fast Buttons (only use this if you only target webkit browsers, we are still testing out cross-browser support)
new MBP.fastButton(document.getElementById('myBtn'), function() {alert("clicked")});
Autogrow textarea
new MBP.autogrow(document.getElementById('myTextarea'), 14); // 14 -- line height
https://github.com/h5bp/mobile-boilerplate/wiki/JavaScript-Helper
They mostly stay the same.
MBP.scaleFix()
MBP.hideUrlBar()
new MBP.fastButton document.getElementById('myBtn'), -> alert "clicked"
new MBP.autogrow document.getElementById('myTextarea'), 14