From 9ffeaa7b95b4d9f2a2a03fb018dab96fbbc3b0c2 Mon Sep 17 00:00:00 2001 From: Cheng Lou Date: Mon, 15 Aug 2016 02:18:11 -0700 Subject: [PATCH] [Docs] Make live demo header better on small screen width The reason why I changed "Examples:" to "Default Example" is because the "Example: " nav item by itself doesn't easily position itself correctly on small screen. Also make some title casing consistent. --- js-demo/examples/examples.json | 14 +++++++------- js-demo/index.html | 34 +++++++++++++++++----------------- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/js-demo/examples/examples.json b/js-demo/examples/examples.json index d3fc14c4337..96a1330fdcf 100644 --- a/js-demo/examples/examples.json +++ b/js-demo/examples/examples.json @@ -1,8 +1,8 @@ { - "Default" : + "Default Example" : { "file" : "default.ml", "eval" : true - }, + }, "Event Handler" : { "file" : "event_handler.ml", "eval" : false}, @@ -20,24 +20,24 @@ "file" : "fp.ml", "eval" : true }, - "Curry optimization" : + "Curry Optimization" : { "file" : "curry.ml", "eval" : true }, - "For loop" : { + "For Loop" : { "file" : "for_loop.ml", "eval" : true }, - "Use standard library" : { + "Use Standard Library" : { "file" : "use_stdlib.ml", "eval" : true }, - "JS objects" : { + "JS Objects" : { "file" : "js_object.ml", "eval" : true }, - "Left pad" : { + "Left Pad" : { "file" : "left_pad.ml", "eval" : true } diff --git a/js-demo/index.html b/js-demo/index.html index 9ff356ae577..2be468853eb 100644 --- a/js-demo/index.html +++ b/js-demo/index.html @@ -12,7 +12,7 @@ - @@ -23,37 +23,37 @@ -