Nuke %PL - never used, not needed
This commit is contained in:
parent
6710bf8c08
commit
1021226020
|
@ -33,7 +33,6 @@ MCIViewFactory.UserViewCodes = [
|
||||||
'ET',
|
'ET',
|
||||||
'ME',
|
'ME',
|
||||||
'MT',
|
'MT',
|
||||||
'PL',
|
|
||||||
'BT',
|
'BT',
|
||||||
'VM',
|
'VM',
|
||||||
'HM',
|
'HM',
|
||||||
|
@ -129,21 +128,6 @@ MCIViewFactory.prototype.createFromMCI = function (mci) {
|
||||||
view = new MultiLineEditTextView(options);
|
view = new MultiLineEditTextView(options);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// Pre-defined Label (Text View)
|
|
||||||
// :TODO: Currently no real point of PL -- @method replaces this pretty much... probably remove
|
|
||||||
case 'PL':
|
|
||||||
if (mci.args.length > 0) {
|
|
||||||
options.text = getPredefinedMCIValue(this.client, mci.args[0]);
|
|
||||||
if (options.text) {
|
|
||||||
setOption(1, 'textStyle');
|
|
||||||
setOption(2, 'justify');
|
|
||||||
setWidth(3);
|
|
||||||
|
|
||||||
view = new TextView(options);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
|
|
||||||
// Button
|
// Button
|
||||||
case 'BT':
|
case 'BT':
|
||||||
if (mci.args.length > 0) {
|
if (mci.args.length > 0) {
|
||||||
|
|
Loading…
Reference in New Issue