From 09514da8f5f1c278b280671d55e605061f7b0615 Mon Sep 17 00:00:00 2001 From: Suzanne Soy Date: Wed, 23 Jun 2021 18:32:21 +0100 Subject: [PATCH] DEBUG --- git-tutorial.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/git-tutorial.js b/git-tutorial.js index aca0d5f..404bd26 100644 --- a/git-tutorial.js +++ b/git-tutorial.js @@ -938,7 +938,10 @@ function ___functions_to_html(section) { var ul = document.createElement('ul'); var ta = section.getElementsByTagName('textarea'); for (var j = 0; j < ta.length; j++) { - console.log('toCodeMirror:', ta[j], ta[j].getAttribute('id'), section, ___ancestor(ta[j], 'section')); + console.log(section.getAttribute('id'), ta[j].getAttribute('id'), ta.length, ___ancestor(ta[j], 'section').getAttribute('id'), ta[j], section); + } + for (var j = 0; j < ta.length; j++) { + console.log('k', section.getAttribute('id'), ta[j].getAttribute('id'), ___ancestor(ta[j], 'section').getAttribute('id'), ta[j], section); if (___ancestor(ta[j], 'section') == section) { var lines = ta[j].value.split('\n'); var ret = ___toCodeMirror(ta[j]);