mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-10 14:44:40 +02:00
* Better view inheritance. Experimental ButtonView. User stuff
This commit is contained in:
parent
8cd062be72
commit
668fdd9166
8 changed files with 171 additions and 202 deletions
|
@ -60,8 +60,25 @@ function entryPoint(client) {
|
|||
|
||||
etv.redraw();*/
|
||||
|
||||
user.createNew({
|
||||
userName : 'Scooby',
|
||||
password : 'password',
|
||||
//properties : {
|
||||
// pw_pbkdf2_salt : '81b45dc699c716ac1913039138b64e3057844128cf1f9291c6475d26dab3d4a5',
|
||||
// pw_pbkdf2_dk : '14856dc5d6d277e29c5bb2ca4511695203fc48260128d2a4a611be4eefa1acfa80f8656e80d3361baa3a10ce5918829e9e3a4197b0c552978b6546d2b885d93e933a1270a5e4a81af06818d1fa9f7df830bc46f6f5870f46be818a05114f77b5605477c09e987dc4faf2a939c6869dcf2a28652d5607e5cca2e987ea2003ab4e',
|
||||
//}
|
||||
}, function onCreated(err, id) {
|
||||
if(err) {
|
||||
console.log(err);
|
||||
} else {
|
||||
console.log('new user created: ' + id);
|
||||
}
|
||||
});
|
||||
|
||||
var vc = new viewController.ViewController(client);
|
||||
vc.loadFromMCIMap(mci);
|
||||
//vc.getView(3).setText('New');
|
||||
//vc.getView(4).setText('Login');
|
||||
vc.setViewOrder();
|
||||
vc.switchFocus(1);
|
||||
//vc.addView(etv);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue