REFACTOR: use tables instead of custom fields for polls (#6359)

Co-authored-by: Guo Xiang Tan <tgx_world@hotmail.com>
This commit is contained in:
Régis Hanol
2018-11-19 14:50:00 +01:00
committed by GitHub
parent 86dafc1f25
commit 4459665dee
37 changed files with 1912 additions and 1573 deletions

View File

@ -3,15 +3,16 @@
const DATA_PREFIX = "data-poll-";
const DEFAULT_POLL_NAME = "poll";
const WHITELISTED_ATTRIBUTES = [
"type",
"name",
"min",
"close",
"max",
"step",
"min",
"name",
"order",
"status",
"public",
"close"
"results",
"status",
"step",
"type",
];
function replaceToken(tokens, target, list) {