diff scripts/test.luan @ 505:7bc63886d4f2

web page modules now return a function
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 21 May 2015 01:45:49 -0600
parents 92c3d22745b8
children 342964519194
line wrap: on
line diff
--- a/scripts/test.luan	Thu May 21 01:09:35 2015 -0600
+++ b/scripts/test.luan	Thu May 21 01:45:49 2015 -0600
@@ -69,19 +69,19 @@
 end
 
 init()
-ab_testing.web_page{"All","null"}.respond()
+ab_testing.web_page{"All","null"}()
 
 local Web_search = require "luan:lucene/Web_search"
 local web_search = Web_search.of(db)
 
 init()
-web_search.respond()
+web_search()
 
 init()
 Http.request.parameter.query = "Query.all_docs"
 Http.request.parameter.rows = "100"
 Http.request.parameter.sort = ""
-web_search.respond()
+web_search()
 
 
 -- website