From ca238077b65e3b5ba4e78a6c0df7b678f67aaa90 Mon Sep 17 00:00:00 2001 From: jpresnick Date: Thu, 23 Mar 2017 22:53:35 -0400 Subject: [PATCH 1/3] Fix typo in clue 16 across --- js/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/script.js b/js/script.js index d6c6b48..b099fc1 100644 --- a/js/script.js +++ b/js/script.js @@ -54,7 +54,7 @@ starty: 9 }, { - clue: "Type of ray emitted frm the sun", + clue: "Type of ray emitted from the sun", answer: "gamma", position: 16, orientation: "across", From 89d811b39d8c686e096783314c61328d972b2b8b Mon Sep 17 00:00:00 2001 From: jpresnick Date: Thu, 23 Mar 2017 22:55:37 -0400 Subject: [PATCH 2/3] Fix typo in clue 11 down --- js/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/script.js b/js/script.js index b099fc1..8932b30 100644 --- a/js/script.js +++ b/js/script.js @@ -118,7 +118,7 @@ starty: 5 }, { - clue: "Emits a lout wailing sound", + clue: "Emits a loud wailing sound", answer: "siren", position: 11, orientation: "down", From 0a8429a29c956a56f1513013cbc6812369e2f023 Mon Sep 17 00:00:00 2001 From: jpresnick Date: Thu, 23 Mar 2017 23:13:31 -0400 Subject: [PATCH 3/3] Change clue numbers to match numbers of word position in puzzle --- index.html | 9 +++++++++ js/jquery.crossword.js | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index f941425..bf5bb81 100644 --- a/index.html +++ b/index.html @@ -91,6 +91,15 @@ margin: .3em; line-height: 1.6em; } + + ol { + list-style: none; + padding-left: 10px; + } + + ol > li:before { + content: attr(seq) ". "; + } diff --git a/js/jquery.crossword.js b/js/jquery.crossword.js index 343a06e..a08c4eb 100644 --- a/js/jquery.crossword.js +++ b/js/jquery.crossword.js @@ -191,7 +191,7 @@ } // while we're in here, add clues to DOM! - $('#' + puzz.data[i].orientation).append('
  • ' + puzz.data[i].clue + '
  • '); + $('#' + puzz.data[i].orientation).append('
  •  ' + puzz.data[i].clue + '
  • '); } // Calculate rows/cols by finding max coords of each entry, then picking the highest