nikoli/views/sudoku.slim

11 lines
246 B
Plaintext
Raw Permalink Normal View History

2014-12-08 12:45:33 +01:00
- content_for(:title) { 'Sudoku' }
h1 Sudoku
#board
script type="text/javascript" src="/sudoku.js"
javascript:
document.addEventListener("DOMContentLoaded", function() {
2014-12-09 12:30:29 +01:00
sudoku = new Nikoli.Sudoku(document.getElementById('board'));
2014-12-08 12:45:33 +01:00
});