Use spaces around curly braces in CoffeeScript

Just like we do in Ruby.
This commit is contained in:
Javi Martín
2019-03-04 13:40:26 +01:00
parent a0976d8bfd
commit d963657e41
5 changed files with 8 additions and 8 deletions

View File

@@ -3,7 +3,7 @@
buildGraph = (el) ->
url = $(el).data 'graph'
conf = bindto: el, data: {x: 'x', url: url, mimeType: 'json'}, axis: { x: {type: 'timeseries',tick: { format: '%Y-%m-%d' } }}
conf = bindto: el, data: { x: 'x', url: url, mimeType: 'json' }, axis: { x: { type: 'timeseries',tick: { format: '%Y-%m-%d' } } }
graph = c3.generate conf
App.Stats =