diff options
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -871,13 +871,10 @@ const die = { function on_log(text, ix) { let p = document.createElement("div") - console.log('text', text) let event_string = text.match(/^C(\d+)/) - console.log('event_string', event_string) if (event_string) event_n = parseInt(event_string[1]) - console.log('event_n', event_n) if (text.match(/^>>/)) { text = text.substring(2) @@ -897,7 +894,6 @@ function on_log(text, ix) { text = text.replace(/%(\d+)/g, sub_space_name) text = text.replace(/D[1-6]/g, sub_die) - console.log('text', text) if (text.match(/^\.h1/)) { text = text.substring(4) p.className = "h1" @@ -923,12 +919,10 @@ function on_log(text, ix) { } //Group events -console.log('text', text, 'ix', ix, 'log_event', log_event, 'event_side', event_side) // Reset group box counters (when log is rewound) if (ix <= log_event) log_event = 0 if (!scoring_cards.includes(event_n)) { - console.log('applying group') if (text.match(/^.E:/)) { p.classList.add("h2") log_event = ix |