+ Start work on MenuView & friends

* connect.js no longer a module. Part of initial connection always
* Cleaner & expandable BBS init
* Better theme handling
This commit is contained in:
Bryan Ashby 2014-10-30 22:59:21 -06:00
parent 14a321de2f
commit c3aa4c44e2
8 changed files with 96 additions and 64 deletions

View file

@ -13,8 +13,6 @@ exports.TextView = TextView;
function TextView(client, options) {
View.call(this, client, options);
var self = this;
if(this.options.maxLength) {
this.maxLength = this.options.maxLength;
}
@ -31,7 +29,7 @@ function TextView(client, options) {
this.setText(this.options.text || '');
this.isPasswordTextStyle = 'P' === self.textStyle || 'password' === self.textStyle;
this.isPasswordTextStyle = 'P' === this.textStyle || 'password' === this.textStyle;
if(this.isPasswordTextStyle) {
this.textMaskChar = miscUtil.valueWithDefault(this.options.textMaskChar, '*').substr(0, 1);