This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new bf0babd Docco
bf0babd is described below
commit bf0babdb1694b2c9ae0a6cb36b597f4563913e10
Author: Sebb <[email protected]>
AuthorDate: Mon Jun 3 08:47:02 2019 +0100
Docco
---
www/roster/views/AAREADME.txt | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/www/roster/views/AAREADME.txt b/www/roster/views/AAREADME.txt
new file mode 100644
index 0000000..1c0cbcc
--- /dev/null
+++ b/www/roster/views/AAREADME.txt
@@ -0,0 +1,11 @@
+The contents of the views directory *except* for the
+'actions' subdirectory are run on the client.
+
+To factor out code from actions, it needs to be placed
+outside of the views directory and 'required' by main.rb.
+
+Files under 'actions' are named *.json.rb
+They return a JSON response to the client
+
+Other files are *.js.rb or *.html.eb and are converted to the appropriate
+client format -- Javascript or HTML