Refactoring: manage generated static site

This commit is contained in:
ECAILLE Fabrice (externe)
2017-05-04 10:21:47 +02:00
parent 2e64cb961e
commit 3331ead68a
68 changed files with 6445 additions and 0 deletions

11
extra/js/pyramid.js Normal file
View File

@@ -0,0 +1,11 @@
$(document).ready(function() {
$('#startBtn').on('click', function(event) {
for( var i = 0; i < 52; i++ ) {
Deck.cards[i] = i +1;
}
$('img[id^="card"]').remove();
$("#drawn").removeClass();
$("#stock").addClass("card").addClass("background");
Pyramid.init();
});
});