From a58246859370c52b5209fe94a043bdcc7f8b7001 Mon Sep 17 00:00:00 2001 From: Christopher Lenz Date: Mon, 12 Jan 2009 21:06:35 +0000 Subject: Add syntax highlighting of JSON code in Futon. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@733897 13f79535-47bb-0310-9956-ffa450edef68 --- share/Makefile.am | 2 +- share/www/config.html | 1 - share/www/couch_tests.html | 1 - share/www/database.html | 2 +- share/www/document.html | 4 +- share/www/index.html | 2 +- share/www/replicator.html | 1 - share/www/script/browse.js | 30 ++++++---- share/www/script/futon.format.js | 118 +++++++++++++++++++++++++++++++++++++ share/www/script/futon.js | 2 +- share/www/script/jquery.cookies.js | 2 +- share/www/script/jquery.couch.js | 2 +- share/www/script/pprint.js | 74 ----------------------- share/www/style/layout.css | 26 ++++---- 14 files changed, 157 insertions(+), 110 deletions(-) create mode 100644 share/www/script/futon.format.js delete mode 100644 share/www/script/pprint.js diff --git a/share/Makefile.am b/share/Makefile.am index fa7545d2..b78fbb7a 100644 --- a/share/Makefile.am +++ b/share/Makefile.am @@ -59,6 +59,7 @@ nobase_dist_localdata_DATA = \ www/script/couch_tests.js \ www/script/couch_test_runner.js \ www/script/futon.js \ + www/script/futon.format.js \ www/script/jquery.js \ www/script/jquery.cookies.js \ www/script/jquery.couch.js \ @@ -67,5 +68,4 @@ nobase_dist_localdata_DATA = \ www/script/jquery.resizer.js \ www/script/jquery.suggest.js \ www/script/json2.js \ - www/script/pprint.js \ www/style/layout.css diff --git a/share/www/config.html b/share/www/config.html index f9b95c1a..6830d26c 100644 --- a/share/www/config.html +++ b/share/www/config.html @@ -23,7 +23,6 @@ specific language governing permissions and limitations under the License. - - - + - + - + -