liquid_feedback_frontend
annotate env/lf4rcs/init.lua @ 1308:7ea154c9238a
Added libbsd-dev and postgresql server-dev package to list of necessary packages to be installed for compiling/running on Debian
| author | jbe |
|---|---|
| date | Thu Jun 23 03:30:57 2016 +0200 (2016-06-23) |
| parents | 30523f31b186 |
| children | 32cc544d5a5b |
| rev | line source |
|---|---|
| bsw@1219 | 1 function lf4rcs.init() |
| bsw@1219 | 2 local super_handler = config.notification_handler_func |
| bsw@1219 | 3 config.notification_handler_func = function(event) |
| bsw@1219 | 4 if super_handler then super_handler(event) end |
| bsw@1219 | 5 lf4rcs.notification_handler(event) |
| bsw@1219 | 6 end |
| bsw@1219 | 7 config.render_external_reference = { |
| bsw@1219 | 8 draft = lf4rcs.render_draft_reference, |
| bsw@1219 | 9 initiative = lf4rcs.render_initiative_reference |
| bsw@1219 | 10 } |
| bsw@1219 | 11 end |
| bsw@1219 | 12 |