Mercurial Hosting > luan
changeset 1216:5dbb552075ff
doctype
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 20 Mar 2018 15:27:08 -0600 |
parents | d2da8bfa2013 |
children | 4c2972f4d862 |
files | examples/blog/src/edit.luan examples/blog/src/index.html.luan examples/blog/src/new.luan examples/blog/src/private/tools/backup.luan src/luan/modules/http/tools/Shell_mod.luan src/luan/modules/http/tools/java_threads.luan src/luan/modules/http/tools/luan_threads.luan src/luan/modules/http/tools/run.luan src/luan/modules/lucene/Ab_testing.luan src/luan/modules/lucene/Web_search.luan src/luan/webserver/examples/post.html src/luan/webserver/examples/post_multipart.html website/src/diff.html.luan website/src/docs.html.luan website/src/examples/hi2.luan website/src/index.html.luan website/src/manual.html.luan website/src/pil.html.luan website/src/tutorial.html.luan |
diffstat | 19 files changed, 25 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/examples/blog/src/edit.luan Tue Mar 20 12:57:37 2018 -0600 +++ b/examples/blog/src/edit.luan Tue Mar 20 15:27:08 2018 -0600 @@ -20,6 +20,7 @@ Io.stdout = Http.response.text_writer() %> +<!doctype html> <html> <head> <style>
--- a/examples/blog/src/index.html.luan Tue Mar 20 12:57:37 2018 -0600 +++ b/examples/blog/src/index.html.luan Tue Mar 20 15:27:08 2018 -0600 @@ -16,6 +16,7 @@ Io.stdout = Http.response.text_writer() %> +<!doctype html> <html> <head> <style>
--- a/examples/blog/src/new.luan Tue Mar 20 12:57:37 2018 -0600 +++ b/examples/blog/src/new.luan Tue Mar 20 15:27:08 2018 -0600 @@ -17,6 +17,7 @@ Io.stdout = Http.response.text_writer() %> +<!doctype html> <html> <head> <style>
--- a/examples/blog/src/private/tools/backup.luan Tue Mar 20 12:57:37 2018 -0600 +++ b/examples/blog/src/private/tools/backup.luan Tue Mar 20 15:27:08 2018 -0600 @@ -9,11 +9,12 @@ Db.zip(backup) Io.stdout = Http.response.text_writer() - %> - <html> +%> +<!doctype html> +<html> <body> backed up to <a href="/private/local/backup.zip">/private/local/backup.zip</a> </body> - </html> - <% +</html> +<% end
--- a/src/luan/modules/http/tools/Shell_mod.luan Tue Mar 20 12:57:37 2018 -0600 +++ b/src/luan/modules/http/tools/Shell_mod.luan Tue Mar 20 15:27:08 2018 -0600 @@ -91,6 +91,7 @@ Io.stdout = Http.response.text_writer() %> +<!doctype html> <html> <head> <title>Luan Shell</title>
--- a/src/luan/modules/http/tools/java_threads.luan Tue Mar 20 12:57:37 2018 -0600 +++ b/src/luan/modules/http/tools/java_threads.luan Tue Mar 20 15:27:08 2018 -0600 @@ -20,6 +20,7 @@ } end %> +<!doctype html> <html> <body> <h1>Java Threads</h1>
--- a/src/luan/modules/http/tools/luan_threads.luan Tue Mar 20 12:57:37 2018 -0600 +++ b/src/luan/modules/http/tools/luan_threads.luan Tue Mar 20 15:27:08 2018 -0600 @@ -22,6 +22,7 @@ } end %> +<!doctype html> <html> <body> <h1>Luan Threads</h1>
--- a/src/luan/modules/http/tools/run.luan Tue Mar 20 12:57:37 2018 -0600 +++ b/src/luan/modules/http/tools/run.luan Tue Mar 20 15:27:08 2018 -0600 @@ -26,6 +26,7 @@ end local function form() %> +<!doctype html> <html> <head> <title>Run Luan Code</title>
--- a/src/luan/modules/lucene/Ab_testing.luan Tue Mar 20 12:57:37 2018 -0600 +++ b/src/luan/modules/lucene/Ab_testing.luan Tue Mar 20 15:27:08 2018 -0600 @@ -208,7 +208,7 @@ end function Ab_testing.html(test_names,tests,results) %> -<!DOCTYPE html> +<!doctype html> <html lang="en"> <head> <title>A/B Test Results</title>
--- a/src/luan/modules/lucene/Web_search.luan Tue Mar 20 12:57:37 2018 -0600 +++ b/src/luan/modules/lucene/Web_search.luan Tue Mar 20 15:27:08 2018 -0600 @@ -32,6 +32,7 @@ end local function form() %> +<!doctype html> <html> <head> <title>Lucene Query</title> @@ -102,6 +103,7 @@ local function result(query,sort,headers,table) %> +<!doctype html> <html> <head> <title>Lucene Query</title>
--- a/src/luan/webserver/examples/post.html Tue Mar 20 12:57:37 2018 -0600 +++ b/src/luan/webserver/examples/post.html Tue Mar 20 15:27:08 2018 -0600 @@ -1,4 +1,4 @@ -<!DOCTYPE html> +<!doctype html> <html> <body> <form action=/params method=post>
--- a/src/luan/webserver/examples/post_multipart.html Tue Mar 20 12:57:37 2018 -0600 +++ b/src/luan/webserver/examples/post_multipart.html Tue Mar 20 15:27:08 2018 -0600 @@ -1,4 +1,4 @@ -<!DOCTYPE html> +<!doctype html> <html> <body> <form action=/params method=post enctype="multipart/form-data">
--- a/website/src/diff.html.luan Tue Mar 20 12:57:37 2018 -0600 +++ b/website/src/diff.html.luan Tue Mar 20 15:27:08 2018 -0600 @@ -6,6 +6,7 @@ return function() Io.stdout = Http.response.text_writer() %> +<!doctype html> <html> <head> <title>How Luan differs from Lua</title>
--- a/website/src/docs.html.luan Tue Mar 20 12:57:37 2018 -0600 +++ b/website/src/docs.html.luan Tue Mar 20 15:27:08 2018 -0600 @@ -6,6 +6,7 @@ return function() Io.stdout = Http.response.text_writer() %> +<!doctype html> <html> <head> <title>Luan Documentation</title>
--- a/website/src/examples/hi2.luan Tue Mar 20 12:57:37 2018 -0600 +++ b/website/src/examples/hi2.luan Tue Mar 20 15:27:08 2018 -0600 @@ -20,6 +20,7 @@ local function hello(name) %> +<!doctype html> <html> <body> <h1>Hello</h1>
--- a/website/src/index.html.luan Tue Mar 20 12:57:37 2018 -0600 +++ b/website/src/index.html.luan Tue Mar 20 15:27:08 2018 -0600 @@ -6,6 +6,7 @@ return function() Io.stdout = Http.response.text_writer() %> +<!doctype html> <html> <head> <title>Luan</title>
--- a/website/src/manual.html.luan Tue Mar 20 12:57:37 2018 -0600 +++ b/website/src/manual.html.luan Tue Mar 20 15:27:08 2018 -0600 @@ -8,6 +8,7 @@ return function() Io.stdout = Http.response.text_writer() %> +<!doctype html> <html> <head> <title>Luan Reference Manual</title>
--- a/website/src/pil.html.luan Tue Mar 20 12:57:37 2018 -0600 +++ b/website/src/pil.html.luan Tue Mar 20 15:27:08 2018 -0600 @@ -6,6 +6,7 @@ return function() Io.stdout = Http.response.text_writer() %> +<!doctype html> <html> <head> <title>Programming in Lua</title>
--- a/website/src/tutorial.html.luan Tue Mar 20 12:57:37 2018 -0600 +++ b/website/src/tutorial.html.luan Tue Mar 20 15:27:08 2018 -0600 @@ -7,6 +7,7 @@ return function() Io.stdout = Http.response.text_writer() %> +<!doctype html> <html> <head> <title>Luan Tutorial</title> @@ -79,6 +80,7 @@ return function() Io.stdout = Http.response.text_writer() %> + <!doctype html> <html> <body> Hello World