mirror of
https://github.com/s00500/nodeMessageBoard.git
synced 2025-07-13 00:11:00 +00:00
Move debug to config
This commit is contained in:
@ -23,6 +23,11 @@ module.exports.demoMode = function () {
|
||||
return config('debug').chain().find({ param: 'demoMode' }).value()['value'];
|
||||
};
|
||||
|
||||
module.exports.debugMode = function () {
|
||||
return config('debug').chain().find({ param: 'debugMode' }).value()['value'];
|
||||
};
|
||||
|
||||
|
||||
// utility function for ucs2 decode
|
||||
function ucs2Parse(ucs2){
|
||||
codeArray = ucs2.match(/.{1,4}/g);
|
||||
|
Reference in New Issue
Block a user