luci-base: datatypes: add "unique" dummy validator
authorJo-Philipp Wich <jo@mein.io>
Wed, 14 Nov 2018 19:58:32 +0000 (20:58 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 14 Nov 2018 19:58:49 +0000 (20:58 +0100)
commit7e26fa89e9d0109b42c84e2674bbcbae530aa356
tree3ece8665b5b5ae1a6328d98f28b6faa50efcce7b
parentceb342dc8de0235686bfceae7cd3948cb3c2f527
luci-base: datatypes: add "unique" dummy validator

Add a dummy validator for the server side so that we can start using unique
in client side JS code.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/luasrc/cbi/datatypes.lua