webmcp
changeset 349:8cf6d927d074
Fixed commas in autodoc comments
author | jbe |
---|---|
date | Thu Mar 26 12:25:19 2015 +0100 (2015-03-26) |
parents | d2429d53a158 |
children | e00d11c12b68 |
files | framework/env/request/handler.lua framework/env/ui/paginate.lua |
line diff
1.1 --- a/framework/env/request/handler.lua Thu Mar 26 03:27:32 2015 +0100 1.2 +++ b/framework/env/request/handler.lua Thu Mar 26 12:25:19 2015 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 --[[-- 1.5 success = -- false if an error occurred, true otherwise 1.6 request.handler( 1.7 - http_request, -- HTTP request object 1.8 + http_request -- HTTP request object 1.9 ) 1.10 1.11 Called by mcp.lua to process an HTTP request. Calls request.router(), and handles the request. Note: request initializers will have to be (automatically) executed before this function is invoked by mcp.lua.
2.1 --- a/framework/env/ui/paginate.lua Thu Mar 26 03:27:32 2015 +0100 2.2 +++ b/framework/env/ui/paginate.lua Thu Mar 26 12:25:19 2015 +0100 2.3 @@ -1,13 +1,13 @@ 2.4 --[[-- 2.5 ui.paginate{ 2.6 - selector = selector, -- a selector for items from the database (will be modified) 2.7 - anchor = anchor, -- optional name of anchor in document to jump to 2.8 - per_page = per_page, -- items per page, defaults to 10 2.9 - container_attr = container_attr -- html attr for the container element 2.10 - name = name, -- name of the CGI get variable, defaults to "page" 2.11 - page = page, -- directly specify a page, and ignore 'name' parameter 2.12 + selector = selector, -- a selector for items from the database (will be modified) 2.13 + anchor = anchor, -- optional name of anchor in document to jump to 2.14 + per_page = per_page, -- items per page, defaults to 10 2.15 + container_attr = container_attr, -- html attr for the container element 2.16 + name = name, -- name of the CGI get variable, defaults to "page" 2.17 + page = page, -- directly specify a page, and ignore 'name' parameter 2.18 content = function() 2.19 - ... -- code block which should be encapsulated with page selection links 2.20 + ... -- code block which should be encapsulated with page selection links 2.21 end 2.22 } 2.23