* Functional last callers mod

* Notes
* Some cleanup
This commit is contained in:
Bryan Ashby 2015-07-27 22:10:20 -06:00
parent 99ea870ebc
commit 4a342ba2fa
8 changed files with 126 additions and 222 deletions

View file

@ -67,7 +67,10 @@ function View(options) {
this.setDimension(options.dimens);
this.autoScale = { height : false, width : false };
} else {
this.dimens = { width : 0, height : 0 };
this.dimens = {
width : options.width || 0,
height : 0
};
}
// :TODO: Just use styleSGRx for these, e.g. styleSGR0, styleSGR1 = norm/focus
@ -214,6 +217,12 @@ View.prototype.setPropertyValue = function(propName, value) {
*/
break;
case 'resizable' :
if(_.isBoolean(value)) {
this.resizable = value;
}
break;
case 'argName' : this.submitArgName = value; break;
}