* Some notes

* Placeholder menu editor module
This commit is contained in:
Bryan Ashby 2015-06-24 22:45:21 -06:00
parent 521710e6ec
commit 30b98e9e3b
4 changed files with 29 additions and 1 deletions

View File

@ -79,7 +79,7 @@ function getDefaultConfig() {
users : {
usernameMin : 2,
usernameMax : 16,
usernameMax : 16, // Note that FidoNet wants 36 max
usernamePattern : '^[A-Za-z0-9~!@#$%^&*()\\-\\_+]+$',
passwordMin : 6,
passwordMax : 128,

View File

@ -802,6 +802,7 @@ function MultiLineEditTextView2(options) {
//
// :TODO: apply word wrapping such that text can be re-adjusted if it can now fit on prev
self.keyPressLeft(); // same as hitting left - jump to previous line
self.keyPressBackspace();
}
};

View File

@ -215,6 +215,7 @@
"Vertical Menu Views",
"Horizontal Menu Views",
"Art Display",
"Message Editor",
"Some More Stuff",
"Other"
],
@ -245,6 +246,10 @@
{
"value" : { "1" : 6 },
"action" : "@menu:demoArtDisplay"
},
{
"value" : { "1" : 7 },
"action" : "@menu:demoMessageEditor"
}
]
}
@ -424,6 +429,10 @@
"demoDefaultsDosAnsi" : {
"art" : "WE-CIZB.ANS",
"options" : { "cls" : true }
},
"demoMessageEditor" : {
"module" : "message_editor",
"options" : { "cls" : true }
}
/*

18
mods/message_editor.js Normal file
View File

@ -0,0 +1,18 @@
/* jslint node: true */
'use strict';
var MenuModule = require('../core/menu_module.js').MenuModule;
exports.getModule = MessageEditorModule;
exports.moduleInfo = {
name : 'Message Editor',
desc : 'A module for editing messages',
author : 'NuSkooler',
};
function MessageEditorModule(menuConfig) {
MenuModule.call(this, menuConfig);
}
require('util').inherits(MessageEditorModule, MenuModule);