String.prototype.trim is undefined
My current workaround is adding this to my application.coffee:
String.prototype.trim = ->
@replace(/^\s*/, "").replace(/\s*$/, "")
#trim is used here
Thanks for reporting. I've replaced trim() with a RegExp and version 1.4.7 is released that contains the latest haml-coffee version.
Thank you :)