-
Notifications
You must be signed in to change notification settings - Fork 0
Config
Malexion edited this page Nov 6, 2016
·
1 revision
-
[options]
[Optional] Option params for initial config settings.
var config = new __.lib.Config({
foo: 'bar',
layer1: new __.lib.Config({
setting: 1,
switch: 2
}),
step1: {
setting: 1,
switch: 2
}
});
config.update({
foo: 22,
layer1: {
switch: 300
},
step1: {
switch: 300
}
extra: 'setting'
});
console.log(config);