BattleSim/client/templates/replays/index.jade

16 lines
421 B
Plaintext
Raw Normal View History

2016-02-01 22:19:30 +00:00
extends ../layout
block content
.m4.mt-header.pt1
h2 Your replays
#all-replays.row-fluid
block footer
script(src=asset_path('js/data.js'))
script(src=asset_path('js/vendor.js'))
script(src=asset_path('js/templates.js'))
script(src=asset_path('js/replays.js'))
script.
var replays = new Replays(!{JSON.stringify(replays)});
new ReplayView({el: '#all-replays', collection: replays}).render();