28 lines
449 B
Text
28 lines
449 B
Text
# XMRadio Options
|
|
var XMRadioOptions =
|
|
{
|
|
new : func() {
|
|
var obj = { parents : [XMRadioOptions] };
|
|
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 = {};
|
|
},
|
|
|
|
};
|