todo/public/vendor/morris.js/spec/support/placeholder.coffee

7 lines
162 B
CoffeeScript
Raw Normal View History

2020-06-23 04:40:37 +00:00
beforeEach ->
placeholder = $('<div id="graph" style="width: 600px; height: 400px"></div>')
$('#test').append(placeholder)
afterEach ->
$('#test').empty()