diff website/src/Shared.luan @ 503:92c3d22745b8

make _ENV optional
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 20 May 2015 23:24:46 -0600
parents 23d075ce1e48
children 7bc63886d4f2
line wrap: on
line diff
--- a/website/src/Shared.luan	Tue May 19 17:57:20 2015 -0600
+++ b/website/src/Shared.luan	Wed May 20 23:24:46 2015 -0600
@@ -1,4 +1,7 @@
+local M = {}
 
-function header() %>
+function M.header() %>
 	<div><small><a href="/">Luan</a></small></div>
 <% end
+
+return M