Skip to content

Instantly share code, notes, and snippets.

@jhaubrich
Created May 14, 2013 14:48
Show Gist options
  • Save jhaubrich/5576511 to your computer and use it in GitHub Desktop.
Save jhaubrich/5576511 to your computer and use it in GitHub Desktop.
Multiline strings in CoffeeScript are AWESOME!
update_plot = (sdate, edate) ->
graphite = "/graphite/render?
&target=alias(summarize(maxSeries(chi2.*.*)%2C'5min'%2C'sum')%2C'')
&format=json
&from=#{sdate/1000}
&until=#{edate/1000}"
@jhaubrich
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment