2018-01-13 18:53:06 +00:00
|
|
|
# TAWSB Options
|
|
|
|
var TAWSBOptions =
|
2017-12-10 22:15:21 +00:00
|
|
|
{
|
|
|
|
new : func() {
|
2018-01-13 18:53:06 +00:00
|
|
|
var obj = { parents : [TAWSBOptions] };
|
2017-12-10 22:15:21 +00:00
|
|
|
obj.Options= {};
|
|
|
|
obj.loadOptions();
|
|
|
|
return obj;
|
|
|
|
},
|
|
|
|
|
|
|
|
getOption : func(type) {
|
|
|
|
return me.Options[type];
|
|
|
|
},
|
|
|
|
|
|
|
|
setOption : func(type, name, value) {
|
|
|
|
me.Options[type][name] = value;
|
|
|
|
},
|
|
|
|
|
|
|
|
loadOptions : func() {
|
|
|
|
me.clearOptions();
|
|
|
|
me.Options.APS = {};
|
|
|
|
},
|
|
|
|
|
|
|
|
clearOptions : func() {
|
|
|
|
me.Options = {};
|
|
|
|
},
|
|
|
|
|
|
|
|
};
|