From 7f4cae57f9eb50310329542521056da18cdbf0a0 Mon Sep 17 00:00:00 2001 From: John Crepezzi Date: Wed, 23 Nov 2011 11:34:08 -0500 Subject: [PATCH 01/33] Fix document handler regex --- lib/document_handler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/document_handler.js b/lib/document_handler.js index 8b7a18c..2ef7421 100644 --- a/lib/document_handler.js +++ b/lib/document_handler.js @@ -80,7 +80,7 @@ DocumentHandler.prototype.chooseKey = function(callback) { // Return a boolean indicating whether or not something can be a key DocumentHandler.potentialKey = function(key) { - return key.match(/^[a-zA-Z0-9]+(\.[a-zA-Z]+?)$/); + return key.match(/^[a-zA-Z0-9]+(\.[a-zA-Z]+)?$/); }; // Generate a random key From a1803305fb76eec50a76221bdd7d472263dba7fc Mon Sep 17 00:00:00 2001 From: John Crepezzi Date: Wed, 23 Nov 2011 12:12:01 -0500 Subject: [PATCH 02/33] Change hover state for non-enabled --- TODO.md | 1 + static/index.html | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/TODO.md b/TODO.md index 0c9029e..c834576 100644 --- a/TODO.md +++ b/TODO.md @@ -7,6 +7,7 @@ * Add file extensions ourselves to push state * Proper markdown highlighting * Better about page text +* test new interface in browsers # shared version only diff --git a/static/index.html b/static/index.html index 886ace6..50c6d84 100644 --- a/static/index.html +++ b/static/index.html @@ -49,11 +49,11 @@
- - - - - +
+
+
+ +