liquid_feedback_frontend

annotate env/util/trim.lua @ 143:a33abf457d29

add initiative_id selector in suggestion api

fixes bug #301
author Daniel Poelzleithner <poelzi@poelzi.org>
date Wed Oct 06 16:35:33 2010 +0200 (2010-10-06)
parents 0ee1e0c42d4c
children de8602f8d9bb
rev   line source
bsw/jbe@6 1 function util.trim(string)
bsw@9 2 return (string:gsub("^%s*", ""):gsub("%s*$", ""):gsub("%s+", " "))
bsw/jbe@6 3 end

Impressum / About Us