From 3842d3181b66b2e7cb906655400f19d6f0be4d80 Mon Sep 17 00:00:00 2001 From: Aiko Mastboom Date: Sat, 20 Apr 2013 22:25:16 +0200 Subject: [PATCH] added ace mode selection (and persist), added json import example --- public/index.html | 112 +++++++++++++++++++++++++++++++++++----------- 1 file changed, 87 insertions(+), 25 deletions(-) diff --git a/public/index.html b/public/index.html index 3b37402..b2aea6f 100644 --- a/public/index.html +++ b/public/index.html @@ -1,7 +1,17 @@ - + +{ "_availableModes" : [ + { "name": "none", "ace":"none" }, + { "name": "HTML", "ace":"html" }, + { "name": "Style", "ace":"css" }, + { "name": "Behaviour", "ace":"javascript" }, + { "name": "Text", "ace":"markdown" }, + { "name": "JSON", "ace":"json" } + ] +} + - + app/main/index @@ -19,8 +29,9 @@ Editing index
- mode: + mode:
+