fix bug with undefined variable ; improve abstraction
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user