fix bug with undefined variable ; improve abstraction

This commit is contained in:
GotPPay
2018-04-02 12:55:31 +02:00
parent 38c63e619b
commit ec3d4dcd6c
4 changed files with 270 additions and 92 deletions

View File

@@ -74,4 +74,11 @@ constants.answerType = {
EXTERNAL_SOURCE_WP_NEWS: 2,
};
constants.contentType = {
TITLES: 0,
NEWS: 1,
};
constants.FIXED_SUMMARY_LENGTH = 3;
module.exports = constants;